<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: edecrare.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00122.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a> &#124;
<a href="#typedef-members">类型定义</a> &#124;
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle">
<div class="title">edecrare.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="a03620_source.html">precomp.h</a>&quot;</code><br />
</div>
<p><a href="a00122_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a4378c43c6ebfb4a3b0c185ed611c6981"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122.html#a4378c43c6ebfb4a3b0c185ed611c6981">WS_EX_EDGEMASK</a>&#160;&#160;&#160;(WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE)</td></tr>
<tr class="separator:a4378c43c6ebfb4a3b0c185ed611c6981"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
类型定义</h2></td></tr>
<tr class="memitem:a2675a2ad27c825395c5cfacaf4896ba2"><td class="memItemLeft" align="right" valign="top">typedef BOOL(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122.html#a2675a2ad27c825395c5cfacaf4896ba2">PFNABCWIDTHS</a>) (HDC, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, LPABC)</td></tr>
<tr class="separator:a2675a2ad27c825395c5cfacaf4896ba2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7be6c1f45419f6b03b811e4b67f55b51"><td class="memItemLeft" align="right" valign="top">typedef BOOL(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122.html#a7be6c1f45419f6b03b811e4b67f55b51">PFNCHARWIDTH</a>) (HDC, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, LPINT)</td></tr>
<tr class="separator:a7be6c1f45419f6b03b811e4b67f55b51"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:adc7aa0d32f2349c7811c1384e693ffce"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122.html#adc7aa0d32f2349c7811c1384e693ffce">ECGetCaretWidth</a> (BOOL fMultiLine)</td></tr>
<tr class="separator:adc7aa0d32f2349c7811c1384e693ffce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcbe02a7c852f0c02d82ceed95d021af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122.html#abcbe02a7c852f0c02d82ceed95d021af">GetMaxOverlapChars</a> (void)</td></tr>
<tr class="separator:abcbe02a7c852f0c02d82ceed95d021af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f04d5c39809af17fd5ea8d48e67ff37"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122.html#a6f04d5c39809af17fd5ea8d48e67ff37">ECSetMargin</a> (<a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a> ped, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> wFlags, long lMarginValues, BOOL fRedraw)</td></tr>
<tr class="separator:a6f04d5c39809af17fd5ea8d48e67ff37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab86ba30e1a9275c3c7b9083ca0de6c16"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00365.html#ad92d5fac09a74e3695c68da781de646b">ICH</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122.html#ab86ba30e1a9275c3c7b9083ca0de6c16">ECGetText</a> (<a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a> ped, <a class="el" href="a00365.html#ad92d5fac09a74e3695c68da781de646b">ICH</a> maxCchToCopy, LPSTR lpBuffer, BOOL fNullTerminate)</td></tr>
<tr class="separator:ab86ba30e1a9275c3c7b9083ca0de6c16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c7bda1d5ae1f23bdc29e48764b98149"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122.html#a8c7bda1d5ae1f23bdc29e48764b98149">ECNcCreate</a> (<a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a> ped, <a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, LPCREATESTRUCT lpCreateStruct)</td></tr>
<tr class="separator:a8c7bda1d5ae1f23bdc29e48764b98149"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bcaa1b6baec77e98cc2df3c70be0f4b"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122.html#a1bcaa1b6baec77e98cc2df3c70be0f4b">ECCreate</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, <a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a> ped, LONG windowStyle)</td></tr>
<tr class="separator:a1bcaa1b6baec77e98cc2df3c70be0f4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad019db81f8f611bf4c65ab140291425b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122.html#ad019db81f8f611bf4c65ab140291425b">ECNcDestroyHandler</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, <a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a> ped)</td></tr>
<tr class="separator:ad019db81f8f611bf4c65ab140291425b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6321a49a13ae3923b1d9efae1c6650c9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122.html#a6321a49a13ae3923b1d9efae1c6650c9">ECSetPasswordChar</a> (<a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a> ped, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> pwchar)</td></tr>
<tr class="separator:a6321a49a13ae3923b1d9efae1c6650c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8e059188b93f3d2eec00ae37f21e996"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122.html#ad8e059188b93f3d2eec00ae37f21e996">GetNegABCwidthInfo</a> (<a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a> ped, HDC hdc)</td></tr>
<tr class="separator:ad8e059188b93f3d2eec00ae37f21e996"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f444e82be3de51b57983de0854356ed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122.html#a8f444e82be3de51b57983de0854356ed">ECSize</a> (<a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a> ped, LPRECT lprc, BOOL fRedraw)</td></tr>
<tr class="separator:a8f444e82be3de51b57983de0854356ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61a46b4348535c21dff33f8b0f27c31f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122.html#a61a46b4348535c21dff33f8b0f27c31f">ECSetFont</a> (<a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a> ped, HFONT hfont, BOOL fRedraw)</td></tr>
<tr class="separator:a61a46b4348535c21dff33f8b0f27c31f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71c6ffa85617c757333f92d126ae613d"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122.html#a71c6ffa85617c757333f92d126ae613d">ECIsCharNumeric</a> (<a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a> ped, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> keyPress)</td></tr>
<tr class="separator:a71c6ffa85617c757333f92d126ae613d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:a753ab82661361d0748fa41baec3d7fc2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00257.html#a8e3141575761c7ff2faf5a379f2c8797">LOOKASIDE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122.html#a753ab82661361d0748fa41baec3d7fc2">EditLookaside</a></td></tr>
<tr class="separator:a753ab82661361d0748fa41baec3d7fc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a4378c43c6ebfb4a3b0c185ed611c6981"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4378c43c6ebfb4a3b0c185ed611c6981">&#9670;&nbsp;</a></span>WS_EX_EDGEMASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WS_EX_EDGEMASK&#160;&#160;&#160;(WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00122_source.html">edecrare.c</a> 第 <a class="el" href="a00122_source.html#l00017">17</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类型定义说明</h2>
<a id="a2675a2ad27c825395c5cfacaf4896ba2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2675a2ad27c825395c5cfacaf4896ba2">&#9670;&nbsp;</a></span>PFNABCWIDTHS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BOOL(* PFNABCWIDTHS) (HDC, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, LPABC)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00122_source.html">edecrare.c</a> 第 <a class="el" href="a00122_source.html#l00019">19</a> 行定义.</p>

</div>
</div>
<a id="a7be6c1f45419f6b03b811e4b67f55b51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7be6c1f45419f6b03b811e4b67f55b51">&#9670;&nbsp;</a></span>PFNCHARWIDTH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BOOL(* PFNCHARWIDTH) (HDC, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, LPINT)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00122_source.html">edecrare.c</a> 第 <a class="el" href="a00122_source.html#l00020">20</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="a1bcaa1b6baec77e98cc2df3c70be0f4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1bcaa1b6baec77e98cc2df3c70be0f4b">&#9670;&nbsp;</a></span>ECCreate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL ECCreate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a>&#160;</td>
          <td class="paramname"><em>ped</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LONG&#160;</td>
          <td class="paramname"><em>windowStyle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00122_source.html">edecrare.c</a> 第 <a class="el" href="a00122_source.html#l00285">285</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;{</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;    HDC hdc;</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160; </div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;<span class="comment">     * Get values from the window instance data structure and put them in the</span></div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;<span class="comment">     * ped so that we can access them easier.</span></div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;    <span class="keywordflow">if</span> (windowStyle &amp; ES_AUTOHSCROLL)</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;        ped-&gt;<a class="code" href="a01901.html#ad65623ea72dac6fa68440434e35d64cd">fAutoHScroll</a> = 1;</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;    <span class="keywordflow">if</span> (windowStyle &amp; ES_NOHIDESEL)</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;        ped-&gt;<a class="code" href="a01901.html#af4b618c659352ed1ad47e7b5a0f06480">fNoHideSel</a> = 1;</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160; </div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;    ped-&gt;<a class="code" href="a01901.html#a463aa02706bb276f52cef8904d11edf2">cchTextMax</a> = MAXTEXT; <span class="comment">/* Max # chars we will initially allow */</span></div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160; </div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;<span class="comment">     * Set up undo initial conditions... (ie. nothing to undo)</span></div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;    ped-&gt;ichDeleted = (<a class="code" href="a00365.html#ad92d5fac09a74e3695c68da781de646b">ICH</a>)-1;</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;    ped-&gt;ichInsStart = (<a class="code" href="a00365.html#ad92d5fac09a74e3695c68da781de646b">ICH</a>)-1;</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;    ped-&gt;ichInsEnd = (<a class="code" href="a00365.html#ad92d5fac09a74e3695c68da781de646b">ICH</a>)-1;</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160; </div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;    <span class="comment">// initial charset value - need to do this BEFORE MLCreate is called</span></div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;    <span class="comment">// so that we know not to fool with scrollbars if nessacary</span></div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;    hdc = <a class="code" href="a00125.html#a8442f6745c1edc096b532bf21606e25a">ECGetEditDC</a>(ped, TRUE);</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;    ped-&gt;<a class="code" href="a01901.html#ad042d1743d70a971159c9cb3ea8bb8e6">charSet</a> = GetTextCharset(hdc);</div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;    ped-&gt;<a class="code" href="a01901.html#a44bfbf1bad1abd1c46618c96f982aec4">hkl</a> = <a class="code" href="a00026.html#a46278f8b1db32b9b4679eee6abc9e1b4">GetKeyboardLayout</a>(0);</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;    <a class="code" href="a00125.html#a343438939eedd81fc70a8ab0e6214112">ECReleaseEditDC</a>(ped, hdc, TRUE);</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160; </div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;<span class="preprocessor">#ifdef SUPPORT_LPK</span></div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;    <span class="keywordflow">if</span>( (ped-&gt;<a class="code" href="a01901.html#a29e9c1357646dc090d11d6b7e76f9f51">lpfnCharset</a> = GetCharsetCallback(ped-&gt;<a class="code" href="a01901.html#ad042d1743d70a971159c9cb3ea8bb8e6">charSet</a>))) {</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;       <span class="keywordflow">return</span> (BOOL)(* ped-&gt;<a class="code" href="a01901.html#a29e9c1357646dc090d11d6b7e76f9f51">lpfnCharset</a>)(ped, EDITINTL_CREATE, HW(pwnd));</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    } <span class="keywordflow">else</span></div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;<span class="preprocessor">#endif // SUPPORT_LPK</span></div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;    <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00257_source.html#l00645">tagED::cchTextMax</a>, <a class="el" href="a00257_source.html#l00771">tagED::charSet</a>, <a class="el" href="a00125_source.html#l01890">ECGetEditDC()</a>, <a class="el" href="a00125_source.html#l01922">ECReleaseEditDC()</a>, <a class="el" href="a00257_source.html#l00698">tagED::fAutoHScroll</a>, <a class="el" href="a00257_source.html#l00699">tagED::fNoHideSel</a>, <a class="el" href="a00026_source.html#l03732">GetKeyboardLayout()</a>, <a class="el" href="a00257_source.html#l00774">tagED::hkl</a> , 以及 <a class="el" href="a00257_source.html#l00786">tagED::lpfnCharset</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00134_source.html#l00021">MLCreate()</a> , 以及 <a class="el" href="a00140_source.html#l00025">SLCreate()</a>.</p>

</div>
</div>
<a id="adc7aa0d32f2349c7811c1384e693ffce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc7aa0d32f2349c7811c1384e693ffce">&#9670;&nbsp;</a></span>ECGetCaretWidth()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ECGetCaretWidth </td>
          <td>(</td>
          <td class="paramtype">BOOL&#160;</td>
          <td class="paramname"><em>fMultiLine</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00122_source.html">edecrare.c</a> 第 <a class="el" href="a00122_source.html#l00060">60</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;{</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;   <span class="keywordflow">return</span> fMultiLine ? 2 : 1;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">被这些函数引用 <a class="el" href="a00122_source.html#l00574">ECSetFont()</a>, <a class="el" href="a00128_source.html#l00240">MLSetCaretPosition()</a>, <a class="el" href="a00128_source.html#l02805">MLSetFocus()</a> , 以及 <a class="el" href="a00131_source.html#l01925">SLSetFocus()</a>.</p>

</div>
</div>
<a id="ab86ba30e1a9275c3c7b9083ca0de6c16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab86ba30e1a9275c3c7b9083ca0de6c16">&#9670;&nbsp;</a></span>ECGetText()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00365.html#ad92d5fac09a74e3695c68da781de646b">ICH</a> ECGetText </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a>&#160;</td>
          <td class="paramname"><em>ped</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00365.html#ad92d5fac09a74e3695c68da781de646b">ICH</a>&#160;</td>
          <td class="paramname"><em>maxCchToCopy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPSTR&#160;</td>
          <td class="paramname"><em>lpBuffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BOOL&#160;</td>
          <td class="paramname"><em>fNullTerminate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00122_source.html">edecrare.c</a> 第 <a class="el" href="a00122_source.html#l00149">149</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;{</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    PSTR pText;</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    <span class="keywordflow">if</span> (maxCchToCopy) {</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160; </div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="comment">         * Zero terminator takes the extra byte</span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;        <span class="keywordflow">if</span> (fNullTerminate)</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;            maxCchToCopy--;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;        maxCchToCopy = min(maxCchToCopy, ped-&gt;<a class="code" href="a01901.html#a3b759141b06c8b5281f3b2045e7cd00b">cch</a>);</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="comment">         * Zero terminate the string</span></div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#afeee4bc01f4c0be43cb8f89d23474f7c">fAnsi</a>)</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;            *(LPSTR)(lpBuffer + maxCchToCopy) = 0;</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;            *(((LPWSTR)lpBuffer) + maxCchToCopy) = 0;</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160; </div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        pText = <a class="code" href="a00125.html#a5235c9fe24a71a0fac1a6c9326d13ac8">ECLock</a>(ped);</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;        RtlCopyMemory(lpBuffer, pText, maxCchToCopy*ped-&gt;<a class="code" href="a01901.html#a18ecf26174a7b4520ebc1d98a810f457">cbChar</a>);</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;        <a class="code" href="a00125.html#ac702f10c1226a0b63d07046ab3bb69f2">ECUnlock</a>(ped);</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    }</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160; </div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;    <span class="keywordflow">return</span> maxCchToCopy;</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00257_source.html#l00742">tagED::cbChar</a>, <a class="el" href="a00257_source.html#l00647">tagED::cch</a>, <a class="el" href="a00125_source.html#l00038">ECLock()</a>, <a class="el" href="a00125_source.html#l00072">ECUnlock()</a> , 以及 <a class="el" href="a00257_source.html#l00729">tagED::fAnsi</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00125_source.html#l02302">EditWndProc()</a> , 以及 <a class="el" href="a00131_source.html#l02120">SLEditWndProc()</a>.</p>

</div>
</div>
<a id="a71c6ffa85617c757333f92d126ae613d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71c6ffa85617c757333f92d126ae613d">&#9670;&nbsp;</a></span>ECIsCharNumeric()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL ECIsCharNumeric </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a>&#160;</td>
          <td class="paramname"><em>ped</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>keyPress</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00122_source.html">edecrare.c</a> 第 <a class="el" href="a00122_source.html#l00835">835</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;{</div>
<div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160;    WORD wCharType;</div>
<div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160; </div>
<div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;    <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#afeee4bc01f4c0be43cb8f89d23474f7c">fAnsi</a>) {</div>
<div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160;        <span class="keywordtype">char</span> ch = (char)keyPress;</div>
<div class="line"><a name="l00843"></a><span class="lineno">  843</span>&#160;        LCID lcid = (LCID)((<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)ped-&gt;<a class="code" href="a01901.html#a44bfbf1bad1abd1c46618c96f982aec4">hkl</a> &amp; 0xFFFF);</div>
<div class="line"><a name="l00844"></a><span class="lineno">  844</span>&#160;        GetStringTypeA(lcid, CT_CTYPE1, &amp;ch, 1, &amp;wCharType);</div>
<div class="line"><a name="l00845"></a><span class="lineno">  845</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00846"></a><span class="lineno">  846</span>&#160;        WCHAR wch = (WCHAR)keyPress;</div>
<div class="line"><a name="l00847"></a><span class="lineno">  847</span>&#160;        GetStringTypeW(CT_CTYPE1, &amp;wch, 1, &amp;wCharType);</div>
<div class="line"><a name="l00848"></a><span class="lineno">  848</span>&#160;    }</div>
<div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;    <span class="keywordflow">return</span> (wCharType &amp; C1_DIGIT ? TRUE : FALSE);</div>
<div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00257_source.html#l00729">tagED::fAnsi</a> , 以及 <a class="el" href="a00257_source.html#l00774">tagED::hkl</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00128_source.html#l02166">MLChar()</a> , 以及 <a class="el" href="a00131_source.html#l01068">SLChar()</a>.</p>

</div>
</div>
<a id="a8c7bda1d5ae1f23bdc29e48764b98149"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c7bda1d5ae1f23bdc29e48764b98149">&#9670;&nbsp;</a></span>ECNcCreate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL ECNcCreate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a>&#160;</td>
          <td class="paramname"><em>ped</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPCREATESTRUCT&#160;</td>
          <td class="paramname"><em>lpCreateStruct</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00122_source.html">edecrare.c</a> 第 <a class="el" href="a00122_source.html#l00188">188</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;{</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    HWND hwnd = HWq(pwnd);</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;    BOOL fAnsi;</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160; </div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;    fAnsi = TestWF(pwnd, WFANSICREATOR);</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160; </div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="comment">     * Initialize the ped</span></div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    ped-&gt;<a class="code" href="a01901.html#af5a010828a8c661a2bc93df0260b2c86">fEncoded</a> = FALSE;</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    ped-&gt;<a class="code" href="a01901.html#a9e9c8bf44a8b9c903e8b2bb173acbeff">iLockLevel</a> = 0;</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160; </div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    ped-&gt;<a class="code" href="a01901.html#aef1eec499715335d467d1c4215278b99">chLines</a> = NULL;</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;    ped-&gt;<a class="code" href="a01901.html#a00569140688ee86009f8509ad3304bd7">pTabStops</a> = NULL;</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    ped-&gt;<a class="code" href="a01901.html#af73f33d650f35bbba3a6403566610116">charWidthBuffer</a> = NULL;</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    ped-&gt;<a class="code" href="a01901.html#afeee4bc01f4c0be43cb8f89d23474f7c">fAnsi</a> = fAnsi ? 1 : 0; <span class="comment">// Force TRUE to be 1 because its a 1 bit field</span></div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    ped-&gt;<a class="code" href="a01901.html#a18ecf26174a7b4520ebc1d98a810f457">cbChar</a> = (WORD)(fAnsi ? <span class="keyword">sizeof</span>(<a class="code" href="a00953.html#aebb9e13210d88d43e32e735ada43a425">CHAR</a>) : <span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    ped-&gt;<a class="code" href="a01901.html#aa4e24199aacde3c2ea82d9be4f6ce37a">hInstance</a> = pwnd-&gt;hModule;</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160; </div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    {</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;        <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwVer = GETEXPWINVER(lpCreateStruct-&gt;hInstance);</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160; </div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;        ped-&gt;<a class="code" href="a01901.html#aa05df0ab87a7a68915d7081fe467abd0">fWin31Compat</a> = (dwVer &gt;= 0x030a);</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;        ped-&gt;<a class="code" href="a01901.html#a6eaee1347cb0a69a437c28d32dfb55d8">f40Compat</a> = (dwVer &gt;= 0x0400);</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;    }</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160; </div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    <span class="comment">// NOTE:</span></div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    <span class="comment">// The order of the following two checks is important.  People can</span></div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;    <span class="comment">// create edit fields with a 3D and a normal border, and we don&#39;t</span></div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;    <span class="comment">// want to disallow that.  But we need to detect the &quot;no 3D border&quot;</span></div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    <span class="comment">// border case too.</span></div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;    <span class="keywordflow">if</span> (TestWF(pwnd, WEFEDGEMASK))</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;    {</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;        ped-&gt;<a class="code" href="a01901.html#a39109fda55461db48b8cad98765d3d4f">fBorder</a> = TRUE;</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;    }</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span> (TestWF(pwnd, WFBORDER))</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;    {</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;        <a class="code" href="a00026.html#a0cecedf7a462633cf5456292b526d8ec">ClearWindowState</a>(pwnd, WFBORDER);</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        ped-&gt;<a class="code" href="a01901.html#a7567bd6484ab4f9d33ef3c8f8a1045b8">fFlatBorder</a> = TRUE;</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;        ped-&gt;<a class="code" href="a01901.html#a39109fda55461db48b8cad98765d3d4f">fBorder</a> = TRUE;</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;    }</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160; </div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;    <span class="keywordflow">if</span> (!TestWF(pwnd, EFMULTILINE))</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;        ped-&gt;<a class="code" href="a01901.html#a1ea0a3be0b09e87fa9f883c2161813c9">fSingle</a> = TRUE;</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160; </div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    <span class="keywordflow">if</span> (TestWF(pwnd, WFDISABLED))</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;        ped-&gt;<a class="code" href="a01901.html#a2b8477acb2bdd5157aa9b3665b9b5f73">fDisabled</a> = TRUE;</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160; </div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    <span class="keywordflow">if</span> (TestWF(pwnd, EFREADONLY)) {</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;        <span class="keywordflow">if</span> (!ped-&gt;<a class="code" href="a01901.html#aa05df0ab87a7a68915d7081fe467abd0">fWin31Compat</a>) {</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;<span class="comment">             * BACKWARD COMPATIBILITY HACK</span></div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;<span class="comment">             *</span></div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;<span class="comment">             * &quot;MileStone&quot; unknowingly sets the ES_READONLY style. So, we strip this</span></div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;<span class="comment">             * style here for all Win3.0 apps (this style is new for Win3.1).</span></div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;<span class="comment">             * Fix for Bug #12982 -- SANKAR -- 01/24/92 --</span></div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;             <a class="code" href="a00026.html#a0cecedf7a462633cf5456292b526d8ec">ClearWindowState</a>(pwnd, EFREADONLY);</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;        } <span class="keywordflow">else</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;            ped-&gt;<a class="code" href="a01901.html#a56e1c37e14ce0745f53a6124621b9130">fReadOnly</a> = TRUE;</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    }</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160; </div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;<span class="comment">     * Allocate storage for the text for the edit controls. Storage for single</span></div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;<span class="comment">     * line edit controls will always get allocated in the local data segment.</span></div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;<span class="comment">     * Multiline will allocate in the local ds but the app may free this and</span></div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;<span class="comment">     * allocate storage elsewhere...</span></div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;    ped-&gt;<a class="code" href="a01901.html#a28b575c23d3fd50bf4af8b5fa4d240ad">hText</a> = <a class="code" href="a03263.html#a0e9e0d98439c77d0dbc2e1c3053ebae4">LOCALALLOC</a>(<a class="code" href="a03263.html#ac5708139d90a74b5f851208c3df8a75c">LHND</a>, CCHALLOCEXTRA*ped-&gt;<a class="code" href="a01901.html#a18ecf26174a7b4520ebc1d98a810f457">cbChar</a>, ped-&gt;<a class="code" href="a01901.html#aa4e24199aacde3c2ea82d9be4f6ce37a">hInstance</a>);</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;    <span class="keywordflow">if</span> (!ped-&gt;<a class="code" href="a01901.html#a28b575c23d3fd50bf4af8b5fa4d240ad">hText</a>) {</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;        <a class="code" href="a00236.html#ad272f936963b18f5b5975e78e6190c9e">FreeLookasideEntry</a>(&amp;<a class="code" href="a00122.html#a753ab82661361d0748fa41baec3d7fc2">EditLookaside</a>, ped);</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;        <a class="code" href="a00362.html#abf4a1d1e53f7703a429cf806f38e0fcc">NtUserSetWindowFNID</a>(hwnd, FNID_CLEANEDUP_BIT); <span class="comment">/* No ped for this window */</span></div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;        <span class="keywordflow">return</span> FALSE; <span class="comment">/* If no_memory error */</span></div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;    }</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160; </div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    ped-&gt;<a class="code" href="a01901.html#a9805d549bc2a7caaea2b1b51cf39d444">cchAlloc</a> = CCHALLOCEXTRA;</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;    ped-&gt;<a class="code" href="a01901.html#a6d05df78d71f440c6a9d54c22ced77eb">lineHeight</a> = 1;</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160; </div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    ped-&gt;<a class="code" href="a01901.html#aa72255e7356d612ad72bb45def01fcbb">hwnd</a> = hwnd;</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;    ped-&gt;<a class="code" href="a01901.html#a112e199d317590fb7356a47465b4c57c">hwndParent</a> = lpCreateStruct-&gt;hwndParent;</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160; </div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;    <span class="keywordflow">return</span> (BOOL)<a class="code" href="a00041.html#a56a2a5f665575c0310d1a35792f43b13">DefWindowProcWorker</a>(pwnd, WM_NCCREATE, 0,</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;            (LONG)lpCreateStruct, fAnsi);</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00257_source.html#l00742">tagED::cbChar</a>, <a class="el" href="a00257_source.html#l00643">tagED::cchAlloc</a>, <a class="el" href="a00257_source.html#l00769">tagED::charWidthBuffer</a>, <a class="el" href="a00257_source.html#l00743">tagED::chLines</a>, <a class="el" href="a00026_source.html#l02834">ClearWindowState()</a>, <a class="el" href="a00041_source.html#l00555">DefWindowProcWorker()</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00125_source.html#l00016">EditLookaside</a>, <a class="el" href="a00257_source.html#l00731">tagED::f40Compat</a>, <a class="el" href="a00257_source.html#l00729">tagED::fAnsi</a>, <a class="el" href="a00257_source.html#l00696">tagED::fBorder</a>, <a class="el" href="a00257_source.html#l00694">tagED::fDisabled</a>, <a class="el" href="a00257_source.html#l00793">tagED::fEncoded</a>, <a class="el" href="a00257_source.html#l00732">tagED::fFlatBorder</a>, <a class="el" href="a00257_source.html#l00721">tagED::fReadOnly</a>, <a class="el" href="a00236_source.html#l00345">FreeLookasideEntry()</a>, <a class="el" href="a00257_source.html#l00689">tagED::fSingle</a>, <a class="el" href="a00257_source.html#l00730">tagED::fWin31Compat</a>, <a class="el" href="a00257_source.html#l00791">tagED::hInstance</a>, <a class="el" href="a00257_source.html#l00642">tagED::hText</a>, <a class="el" href="a00257_source.html#l00674">tagED::hwnd</a>, <a class="el" href="a00257_source.html#l00677">tagED::hwndParent</a>, <a class="el" href="a00257_source.html#l00794">tagED::iLockLevel</a>, <a class="el" href="a03263_source.html#l00087">LHND</a>, <a class="el" href="a00257_source.html#l00759">tagED::lineHeight</a>, <a class="el" href="a03263_source.html#l00104">LOCALALLOC</a>, <a class="el" href="a03614_source.html#l06170">NtUserSetWindowFNID()</a> , 以及 <a class="el" href="a00257_source.html#l00765">tagED::pTabStops</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00125_source.html#l02302">EditWndProc()</a>.</p>

</div>
</div>
<a id="ad019db81f8f611bf4c65ab140291425b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad019db81f8f611bf4c65ab140291425b">&#9670;&nbsp;</a></span>ECNcDestroyHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ECNcDestroyHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a>&#160;</td>
          <td class="paramname"><em>ped</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00122_source.html">edecrare.c</a> 第 <a class="el" href="a00122_source.html#l00333">333</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;{</div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;    <a class="code" href="a02581.html">PWND</a> pwndParent;</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160; </div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;<span class="comment">     * ped could be NULL if WM_NCCREATE failed to create it...</span></div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;    <span class="keywordflow">if</span> (ped) {</div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160; </div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;<span class="comment">         * Free the text buffer (always present?)</span></div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;        <a class="code" href="a03263.html#af243efbc42d8cf84d6eaf4e018cac917">LOCALFREE</a>(ped-&gt;<a class="code" href="a01901.html#a28b575c23d3fd50bf4af8b5fa4d240ad">hText</a>, ped-&gt;<a class="code" href="a01901.html#aa4e24199aacde3c2ea82d9be4f6ce37a">hInstance</a>);</div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160; </div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;<span class="comment">         * Free up undo buffer and line start array (if present)</span></div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;        <span class="keywordflow">if</span> (ped-&gt;hDeletedText != NULL)</div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;            UserGlobalFree(ped-&gt;hDeletedText);</div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160; </div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;<span class="comment">         * Free tab stop buffer (if present)</span></div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;        <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#a00569140688ee86009f8509ad3304bd7">pTabStops</a>)</div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;            UserLocalFree(ped-&gt;<a class="code" href="a01901.html#a00569140688ee86009f8509ad3304bd7">pTabStops</a>);</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160; </div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;<span class="comment">         * Free line start array (if present)</span></div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;        <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#aef1eec499715335d467d1c4215278b99">chLines</a>) {</div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;            UserLocalFree(ped-&gt;<a class="code" href="a01901.html#aef1eec499715335d467d1c4215278b99">chLines</a>);</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;        }</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160; </div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;<span class="comment">         * Free the character width buffer (if present)</span></div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;        <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#af73f33d650f35bbba3a6403566610116">charWidthBuffer</a>)</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;            UserLocalFree(ped-&gt;<a class="code" href="a01901.html#af73f33d650f35bbba3a6403566610116">charWidthBuffer</a>);</div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160; </div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;<span class="preprocessor">#ifdef SUPPORT_LPK</span></div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;        <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#a29e9c1357646dc090d11d6b7e76f9f51">lpfnCharset</a>) {</div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;            (* ped-&gt;<a class="code" href="a01901.html#a29e9c1357646dc090d11d6b7e76f9f51">lpfnCharset</a>)(ped, EDITINTL_DESTROY);</div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;        }</div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;<span class="preprocessor">#endif // SUPPORT_LPK</span></div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160; </div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;<span class="comment">         * Last but not least, free the ped</span></div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;        <a class="code" href="a00236.html#ad272f936963b18f5b5975e78e6190c9e">FreeLookasideEntry</a>(&amp;<a class="code" href="a00122.html#a753ab82661361d0748fa41baec3d7fc2">EditLookaside</a>, ped);</div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;    }</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160; </div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;<span class="comment">     * Set the window&#39;s fnid status so that we can ignore rogue messages</span></div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;    <a class="code" href="a00362.html#abf4a1d1e53f7703a429cf806f38e0fcc">NtUserSetWindowFNID</a>(HWq(pwnd), FNID_CLEANEDUP_BIT);</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160; </div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;<span class="comment">     * If we&#39;re part of a combo box, let it know we&#39;re gone</span></div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;    pwndParent = REBASEPWND(pwnd, spwndParent);</div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;    <span class="keywordflow">if</span> (pwndParent &amp;&amp; GETFNID(pwndParent) == FNID_COMBOBOX) {</div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;        <a class="code" href="a00053.html#afb09e3dbfb0dc7ec438a7a914011b5d2">ComboBoxWndProcWorker</a>(pwndParent, WM_PARENTNOTIFY,</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;                MAKELONG(WM_DESTROY, pwnd-&gt;<a class="code" href="a02581.html#ad680eabbc65eb4d160362e2c73a19994">spmenu</a>), (LONG)HWq(pwnd), FALSE);</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;    }</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00257_source.html#l00769">tagED::charWidthBuffer</a>, <a class="el" href="a00257_source.html#l00743">tagED::chLines</a>, <a class="el" href="a00053_source.html#l00076">ComboBoxWndProcWorker()</a>, <a class="el" href="a00125_source.html#l00016">EditLookaside</a>, <a class="el" href="a00236_source.html#l00345">FreeLookasideEntry()</a>, <a class="el" href="a00257_source.html#l00791">tagED::hInstance</a>, <a class="el" href="a00257_source.html#l00642">tagED::hText</a>, <a class="el" href="a03263_source.html#l00114">LOCALFREE</a>, <a class="el" href="a00257_source.html#l00786">tagED::lpfnCharset</a>, <a class="el" href="a03614_source.html#l06170">NtUserSetWindowFNID()</a>, <a class="el" href="a00257_source.html#l00765">tagED::pTabStops</a> , 以及 <a class="el" href="a00365_source.html#l01413">tagWND::spmenu</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00125_source.html#l02302">EditWndProc()</a>.</p>

</div>
</div>
<a id="a61a46b4348535c21dff33f8b0f27c31f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61a46b4348535c21dff33f8b0f27c31f">&#9670;&nbsp;</a></span>ECSetFont()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ECSetFont </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a>&#160;</td>
          <td class="paramname"><em>ped</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HFONT&#160;</td>
          <td class="paramname"><em>hfont</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BOOL&#160;</td>
          <td class="paramname"><em>fRedraw</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00122_source.html">edecrare.c</a> 第 <a class="el" href="a00122_source.html#l00574">574</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;{</div>
<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;    <span class="keywordtype">short</span>  i;</div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;    TEXTMETRIC      TextMetrics;</div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;    HDC             hdc;</div>
<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;    HFONT           hOldFont=NULL;</div>
<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>            wBuffSize;</div>
<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;    LPINT           lpCharWidthBuff;</div>
<div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>           dwMaxOverlapChars;</div>
<div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;    CHWIDTHINFO     cwi;</div>
<div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>            uExtracharPos;</div>
<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160; </div>
<div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;    hdc = <a class="code" href="a00362.html#a1eefde3313bfafab921776948a45e595">NtUserGetDC</a>(ped-&gt;<a class="code" href="a01901.html#aa72255e7356d612ad72bb45def01fcbb">hwnd</a>);</div>
<div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160; </div>
<div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;    <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#a28addd302ddcd18f236d3df387de182d">hFont</a> = hfont) {</div>
<div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;        <span class="comment">// Since the default font is the system font, no need to select it in</span></div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;        <span class="comment">// if that&#39;s what the user wants.</span></div>
<div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;        <span class="keywordflow">if</span> (!(hOldFont = SelectObject(hdc, hfont))) {</div>
<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;            hfont = ped-&gt;<a class="code" href="a01901.html#a28addd302ddcd18f236d3df387de182d">hFont</a> = NULL;</div>
<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;        }</div>
<div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160; </div>
<div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;        <span class="comment">// Get the metrics and ave char width for the currently selected font</span></div>
<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;        ped-&gt;<a class="code" href="a01901.html#ab660860ffa906bd4a4a19c2fda18f9d8">aveCharWidth</a> = GdiGetCharDimensions(hdc, &amp;TextMetrics, &amp;ped-&gt;<a class="code" href="a01901.html#a6d05df78d71f440c6a9d54c22ced77eb">lineHeight</a>);</div>
<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160; </div>
<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;<span class="comment">         * This might fail when people uses network fonts (or bad fonts).</span></div>
<div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;        <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#ab660860ffa906bd4a4a19c2fda18f9d8">aveCharWidth</a> == 0) {</div>
<div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;            <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;ECSetFont: GdiGetCharDimensions failed&quot;</span>);</div>
<div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;            <span class="keywordflow">if</span> (hOldFont != NULL) {</div>
<div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;                SelectObject(hdc, hOldFont);</div>
<div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;            }</div>
<div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160; </div>
<div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;<span class="comment">             * We&#39;ve messed up the ped so let&#39;s reset the font.</span></div>
<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;<span class="comment">             *  Note that we won&#39;t recurse more than once because we&#39;ll</span></div>
<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;<span class="comment">             *  pass hfont == NULL.</span></div>
<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;<span class="comment">             * Too bad WM_SETFONT doesn&#39;t return a value.</span></div>
<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;            <a class="code" href="a00122.html#a61a46b4348535c21dff33f8b0f27c31f">ECSetFont</a>(ped, NULL, fRedraw);</div>
<div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;            <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;        }</div>
<div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;        ped-&gt;<a class="code" href="a01901.html#ab660860ffa906bd4a4a19c2fda18f9d8">aveCharWidth</a> = <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a4bd4bf0c7aa2d88610b01f436ec2e82d">cxSysFontChar</a>;</div>
<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;        ped-&gt;<a class="code" href="a01901.html#a6d05df78d71f440c6a9d54c22ced77eb">lineHeight</a> = <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a481a03e7eb24994f1eca28391f9b7c77">cySysFontChar</a>;</div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;        TextMetrics = <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a4bd85c2f52f502cc32a9bfb9004694ad">tmSysFont</a>;</div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;    }</div>
<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160; </div>
<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;    ped-&gt;<a class="code" href="a01901.html#a1b5d2e62e62753fd3d9acf72c4ba1510">charOverhang</a> = TextMetrics.tmOverhang;</div>
<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160; </div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;    <span class="comment">//assume that they don&#39;t have any negative widths at all.</span></div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;    ped-&gt;<a class="code" href="a01901.html#aca11e9141269a54ffda79ec776e4d679">wMaxNegA</a> = ped-&gt;<a class="code" href="a01901.html#a560d79883079b560961fefdf0934369a">wMaxNegC</a> = ped-&gt;<a class="code" href="a01901.html#a2c70647bf9cf74aa20872335d74b3143">wMaxNegAcharPos</a> = ped-&gt;<a class="code" href="a01901.html#ae69ebb9f519928fda2522bc10fc5f62c">wMaxNegCcharPos</a> = 0;</div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160; </div>
<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160; </div>
<div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;    <span class="comment">// Check if Proportional Width Font.  Note that DBCS fonts should never be</span></div>
<div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;    <span class="comment">// considered fixed-pitch.  They are really &quot;binary&quot; pitch if the TextMetric</span></div>
<div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160;    <span class="comment">// structure indicates that they are fixed pitch meaning all SBCS characters</span></div>
<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;    <span class="comment">// have one widht and all DBCS characters have another.</span></div>
<div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160; </div>
<div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160; </div>
<div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;    ped-&gt;<a class="code" href="a01901.html#a2a2727931540f92d7626ac1ef01957f6">fNonPropFont</a> = !(TextMetrics.tmPitchAndFamily &amp; FIXED_PITCH) &amp;&amp;</div>
<div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;                        !(IS_ANY_DBCS_CHARSET(TextMetrics.tmCharSet));</div>
<div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160; </div>
<div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;    <span class="comment">// Check for a TrueType font</span></div>
<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;    <span class="comment">// Older app OZWIN chokes if we allocate a bigger buffer for TrueType fonts</span></div>
<div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;    <span class="comment">// So, for apps older than 4.0, no special treatment for TrueType fonts.</span></div>
<div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;    <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#a6eaee1347cb0a69a437c28d32dfb55d8">f40Compat</a> &amp;&amp; (TextMetrics.tmPitchAndFamily &amp; TMPF_TRUETYPE)) {</div>
<div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;        ped-&gt;<a class="code" href="a01901.html#aac7a4be0e6671efe82a9d80d190951fc">fTrueType</a> = GetCharWidthInfo(hdc, &amp;cwi);</div>
<div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;        <span class="keywordflow">if</span> (!ped-&gt;<a class="code" href="a01901.html#aac7a4be0e6671efe82a9d80d190951fc">fTrueType</a>) {</div>
<div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;            <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;ECSetFont: GetCharWidthInfo Failed&quot;</span>);</div>
<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;        }</div>
<div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00655"></a><span class="lineno">  655</span>&#160;        ped-&gt;<a class="code" href="a01901.html#aac7a4be0e6671efe82a9d80d190951fc">fTrueType</a> = FALSE;</div>
<div class="line"><a name="l00656"></a><span class="lineno">  656</span>&#160;    }</div>
<div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160; </div>
<div class="line"><a name="l00658"></a><span class="lineno">  658</span>&#160; </div>
<div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160;    <span class="comment">// Since the font has changed, let us obtain and save the character width</span></div>
<div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;    <span class="comment">// info for this font.</span></div>
<div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;    <span class="comment">// First left us find out if the maximum chars that can overlap due to</span></div>
<div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;    <span class="comment">// negative widths. Since we can&#39;t access USER globals, we make a call here.</span></div>
<div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160; </div>
<div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160;    <span class="keywordflow">if</span> (!ped-&gt;<a class="code" href="a01901.html#a1ea0a3be0b09e87fa9f883c2161813c9">fSingle</a>) {  <span class="comment">// Is this a multiline edit control?</span></div>
<div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00669"></a><span class="lineno">  669</span>&#160;        <span class="comment">// For multiline edit controls, we maintain a buffer that contains</span></div>
<div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;        <span class="comment">// the character width information.</span></div>
<div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;        wBuffSize = (ped-&gt;<a class="code" href="a01901.html#aac7a4be0e6671efe82a9d80d190951fc">fTrueType</a>) ? (CHAR_WIDTH_BUFFER_LENGTH * <span class="keyword">sizeof</span>(ABC)) :</div>
<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;                                       (CHAR_WIDTH_BUFFER_LENGTH * <span class="keyword">sizeof</span>(<span class="keywordtype">int</span>));</div>
<div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160; </div>
<div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;        <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#af73f33d650f35bbba3a6403566610116">charWidthBuffer</a>) { <span class="comment">/* If buffer already present */</span></div>
<div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;            lpCharWidthBuff = ped-&gt;<a class="code" href="a01901.html#af73f33d650f35bbba3a6403566610116">charWidthBuffer</a>;</div>
<div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;            ped-&gt;<a class="code" href="a01901.html#af73f33d650f35bbba3a6403566610116">charWidthBuffer</a> = UserLocalReAlloc(lpCharWidthBuff, wBuffSize, HEAP_ZERO_MEMORY);</div>
<div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160;            <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#af73f33d650f35bbba3a6403566610116">charWidthBuffer</a> == NULL) {</div>
<div class="line"><a name="l00679"></a><span class="lineno">  679</span>&#160;                UserLocalFree((HANDLE)lpCharWidthBuff);</div>
<div class="line"><a name="l00680"></a><span class="lineno">  680</span>&#160;            }</div>
<div class="line"><a name="l00681"></a><span class="lineno">  681</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;            ped-&gt;<a class="code" href="a01901.html#af73f33d650f35bbba3a6403566610116">charWidthBuffer</a> = UserLocalAlloc(HEAP_ZERO_MEMORY, wBuffSize);</div>
<div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;        }</div>
<div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160; </div>
<div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;        <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#af73f33d650f35bbba3a6403566610116">charWidthBuffer</a> != NULL) {</div>
<div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;            <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#aac7a4be0e6671efe82a9d80d190951fc">fTrueType</a>) {</div>
<div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;                ped-&gt;<a class="code" href="a01901.html#aac7a4be0e6671efe82a9d80d190951fc">fTrueType</a> = <a class="code" href="a00122.html#ad8e059188b93f3d2eec00ae37f21e996">GetNegABCwidthInfo</a>(ped, hdc);</div>
<div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;            }</div>
<div class="line"><a name="l00689"></a><span class="lineno">  689</span>&#160; </div>
<div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;<span class="comment">             * It is possible that the above attempts could have failed and reset</span></div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;<span class="comment">             * the value of fTrueType. So, let us check that value again.</span></div>
<div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;            <span class="keywordflow">if</span> (!ped-&gt;<a class="code" href="a01901.html#aac7a4be0e6671efe82a9d80d190951fc">fTrueType</a>) {</div>
<div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;                <span class="keywordflow">if</span> (!GetCharWidthA(hdc, 0, CHAR_WIDTH_BUFFER_LENGTH-1, ped-&gt;<a class="code" href="a01901.html#af73f33d650f35bbba3a6403566610116">charWidthBuffer</a>)) {</div>
<div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;                    UserLocalFree((HANDLE)ped-&gt;<a class="code" href="a01901.html#af73f33d650f35bbba3a6403566610116">charWidthBuffer</a>);</div>
<div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160;                    ped-&gt;<a class="code" href="a01901.html#af73f33d650f35bbba3a6403566610116">charWidthBuffer</a>=NULL;</div>
<div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160;                } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;                    <span class="comment">/*</span></div>
<div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;<span class="comment">                     * We need to subtract out the overhang associated with</span></div>
<div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;<span class="comment">                     * each character since GetCharWidth includes it...</span></div>
<div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;<span class="comment">                     */</span></div>
<div class="line"><a name="l00703"></a><span class="lineno">  703</span>&#160;                    <span class="keywordflow">for</span> (i=0;i &lt; CHAR_WIDTH_BUFFER_LENGTH;i++)</div>
<div class="line"><a name="l00704"></a><span class="lineno">  704</span>&#160;                        ped-&gt;<a class="code" href="a01901.html#af73f33d650f35bbba3a6403566610116">charWidthBuffer</a>[i] -= ped-&gt;<a class="code" href="a01901.html#a1b5d2e62e62753fd3d9acf72c4ba1510">charOverhang</a>;</div>
<div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160;                }</div>
<div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;            }</div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;        } <span class="comment">/* if (ped-&gt;charWidthBuffer != NULL) */</span></div>
<div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;    } <span class="comment">/* if (!ped-&gt;fSingle) */</span></div>
<div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160; </div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160; </div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;<span class="comment">     * Calculate MaxNeg A C metrics</span></div>
<div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;    dwMaxOverlapChars = <a class="code" href="a00122.html#abcbe02a7c852f0c02d82ceed95d021af">GetMaxOverlapChars</a>();</div>
<div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;    <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#aac7a4be0e6671efe82a9d80d190951fc">fTrueType</a>) {</div>
<div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;        <span class="keywordflow">if</span> (cwi.lMaxNegA &lt; 0)</div>
<div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;            ped-&gt;<a class="code" href="a01901.html#aca11e9141269a54ffda79ec776e4d679">wMaxNegA</a> = -cwi.lMaxNegA;</div>
<div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;            ped-&gt;<a class="code" href="a01901.html#aca11e9141269a54ffda79ec776e4d679">wMaxNegA</a> = 0;</div>
<div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;        <span class="keywordflow">if</span> (cwi.lMaxNegC &lt; 0)</div>
<div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;            ped-&gt;<a class="code" href="a01901.html#a560d79883079b560961fefdf0934369a">wMaxNegC</a> = -cwi.lMaxNegC;</div>
<div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;            ped-&gt;<a class="code" href="a01901.html#a560d79883079b560961fefdf0934369a">wMaxNegC</a> = 0;</div>
<div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160;        <span class="keywordflow">if</span> (cwi.lMinWidthD != 0) {</div>
<div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;            ped-&gt;<a class="code" href="a01901.html#a2c70647bf9cf74aa20872335d74b3143">wMaxNegAcharPos</a> = (ped-&gt;<a class="code" href="a01901.html#aca11e9141269a54ffda79ec776e4d679">wMaxNegA</a> + cwi.lMinWidthD - 1) / cwi.lMinWidthD;</div>
<div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;            ped-&gt;<a class="code" href="a01901.html#ae69ebb9f519928fda2522bc10fc5f62c">wMaxNegCcharPos</a> = (ped-&gt;<a class="code" href="a01901.html#a560d79883079b560961fefdf0934369a">wMaxNegC</a> + cwi.lMinWidthD - 1) / cwi.lMinWidthD;</div>
<div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;            <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#aca11e9141269a54ffda79ec776e4d679">wMaxNegA</a> + ped-&gt;<a class="code" href="a01901.html#a560d79883079b560961fefdf0934369a">wMaxNegC</a> &gt; (<a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)cwi.lMinWidthD) {</div>
<div class="line"><a name="l00728"></a><span class="lineno">  728</span>&#160;                uExtracharPos = (ped-&gt;<a class="code" href="a01901.html#aca11e9141269a54ffda79ec776e4d679">wMaxNegA</a> + ped-&gt;<a class="code" href="a01901.html#a560d79883079b560961fefdf0934369a">wMaxNegC</a> - 1) / cwi.lMinWidthD;</div>
<div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160;                ped-&gt;<a class="code" href="a01901.html#a2c70647bf9cf74aa20872335d74b3143">wMaxNegAcharPos</a> += uExtracharPos;</div>
<div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;                ped-&gt;<a class="code" href="a01901.html#ae69ebb9f519928fda2522bc10fc5f62c">wMaxNegCcharPos</a> += uExtracharPos;</div>
<div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;            }</div>
<div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;            ped-&gt;<a class="code" href="a01901.html#a2c70647bf9cf74aa20872335d74b3143">wMaxNegAcharPos</a> = LOWORD(dwMaxOverlapChars);     <span class="comment">// Left</span></div>
<div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;            ped-&gt;<a class="code" href="a01901.html#ae69ebb9f519928fda2522bc10fc5f62c">wMaxNegCcharPos</a> = HIWORD(dwMaxOverlapChars);     <span class="comment">// Right</span></div>
<div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;        }</div>
<div class="line"><a name="l00736"></a><span class="lineno">  736</span>&#160; </div>
<div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#a1b5d2e62e62753fd3d9acf72c4ba1510">charOverhang</a> != 0) {</div>
<div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;<span class="comment">         * Some bitmaps fonts (i.e., italic) have under/overhangs;</span></div>
<div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;<span class="comment">         *  this is pretty much like having negative A and C widths.</span></div>
<div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;        ped-&gt;<a class="code" href="a01901.html#aca11e9141269a54ffda79ec776e4d679">wMaxNegA</a> = ped-&gt;<a class="code" href="a01901.html#a560d79883079b560961fefdf0934369a">wMaxNegC</a> = ped-&gt;<a class="code" href="a01901.html#a1b5d2e62e62753fd3d9acf72c4ba1510">charOverhang</a>;</div>
<div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;        ped-&gt;<a class="code" href="a01901.html#a2c70647bf9cf74aa20872335d74b3143">wMaxNegAcharPos</a> = LOWORD(dwMaxOverlapChars);     <span class="comment">// Left</span></div>
<div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;        ped-&gt;<a class="code" href="a01901.html#ae69ebb9f519928fda2522bc10fc5f62c">wMaxNegCcharPos</a> = HIWORD(dwMaxOverlapChars);     <span class="comment">// Right</span></div>
<div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;    }</div>
<div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160; </div>
<div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160; </div>
<div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160; </div>
<div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160;<span class="preprocessor">#ifdef SUPPORT_LPK</span></div>
<div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;    <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#a29e9c1357646dc090d11d6b7e76f9f51">lpfnCharset</a>)</div>
<div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;        <span class="comment">// clean out current one. Each LPK is responsible for cleaning</span></div>
<div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160;        <span class="comment">// itself out. After this call there should be NO traces left in</span></div>
<div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;        <span class="comment">// the ped.</span></div>
<div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;        (* ped-&gt;<a class="code" href="a01901.html#a29e9c1357646dc090d11d6b7e76f9f51">lpfnCharset</a>)(ped, EDITINTL_SETFONT,</div>
<div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;                              (TEXTMETRIC FAR *)NULL, (HWND)0, (HDC)NULL);</div>
<div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160; </div>
<div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;    <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#ad042d1743d70a971159c9cb3ea8bb8e6">charSet</a> != TextMetrics.tmCharSet)</div>
<div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;        {</div>
<div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;        <span class="comment">// new charset, see if there is a helper available</span></div>
<div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;        ped-&gt;<a class="code" href="a01901.html#ad042d1743d70a971159c9cb3ea8bb8e6">charSet</a> = TextMetrics.tmCharSet;</div>
<div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;        ped-&gt;<a class="code" href="a01901.html#a29e9c1357646dc090d11d6b7e76f9f51">lpfnCharset</a> = GetCharsetCallback(TextMetrics.tmCharSet);</div>
<div class="line"><a name="l00766"></a><span class="lineno">  766</span>&#160;        }</div>
<div class="line"><a name="l00767"></a><span class="lineno">  767</span>&#160;    <span class="keywordflow">if</span>( ped-&gt;<a class="code" href="a01901.html#a29e9c1357646dc090d11d6b7e76f9f51">lpfnCharset</a> )</div>
<div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;        (* ped-&gt;<a class="code" href="a01901.html#a29e9c1357646dc090d11d6b7e76f9f51">lpfnCharset</a>)(ped, EDITINTL_SETFONT,</div>
<div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;                      (TEXTMETRIC FAR *)&amp;TextMetrics, ped-&gt;<a class="code" href="a01901.html#aa72255e7356d612ad72bb45def01fcbb">hwnd</a>, hdc);</div>
<div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;<span class="preprocessor">#endif // SUPPORT_LPK</span></div>
<div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160; </div>
<div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;    <span class="keywordflow">if</span> (!hfont) {</div>
<div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;        <span class="comment">// We are getting the stats for the system font so update the system</span></div>
<div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;        <span class="comment">// font fields in the ed structure since we use these when calculating</span></div>
<div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;        <span class="comment">// some spacing.</span></div>
<div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;        ped-&gt;<a class="code" href="a01901.html#a59006911edca42d85a4451300a2e5691">cxSysCharWidth</a> = ped-&gt;<a class="code" href="a01901.html#ab660860ffa906bd4a4a19c2fda18f9d8">aveCharWidth</a>;</div>
<div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160;        ped-&gt;<a class="code" href="a01901.html#a8b1fc138b0a5bf20a933e5414f088049">cySysCharHeight</a>= ped-&gt;<a class="code" href="a01901.html#a6d05df78d71f440c6a9d54c22ced77eb">lineHeight</a>;</div>
<div class="line"><a name="l00780"></a><span class="lineno">  780</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (hOldFont)</div>
<div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;        SelectObject(hdc, hOldFont);</div>
<div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160; </div>
<div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;    <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#a73169549457ba1d129d00ae6a8cf1a9e">fFocus</a>) {</div>
<div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;        <span class="comment">// Update the caret.</span></div>
<div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;        <a class="code" href="a00362.html#a66d4a43eb655e87820eff79e73181f01">NtUserHideCaret</a>(ped-&gt;<a class="code" href="a01901.html#aa72255e7356d612ad72bb45def01fcbb">hwnd</a>);</div>
<div class="line"><a name="l00788"></a><span class="lineno">  788</span>&#160;        NtUserDestroyCaret();</div>
<div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160; </div>
<div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;        <a class="code" href="a00362.html#a5aaa23bf9e9f7a5135d6b7444f6581c7">NtUserCreateCaret</a>(ped-&gt;<a class="code" href="a01901.html#aa72255e7356d612ad72bb45def01fcbb">hwnd</a>, (HBITMAP)NULL, <a class="code" href="a00122.html#adc7aa0d32f2349c7811c1384e693ffce">ECGetCaretWidth</a>(TRUE), ped-&gt;<a class="code" href="a01901.html#a6d05df78d71f440c6a9d54c22ced77eb">lineHeight</a>);</div>
<div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;        <a class="code" href="a00362.html#aec4d675ce59621970f17f1501ed7e457">NtUserShowCaret</a>(ped-&gt;<a class="code" href="a01901.html#aa72255e7356d612ad72bb45def01fcbb">hwnd</a>);</div>
<div class="line"><a name="l00792"></a><span class="lineno">  792</span>&#160;    }</div>
<div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160; </div>
<div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;    <a class="code" href="a00026.html#ae35231899b6d8b4a5e8d23b23b458104">ReleaseDC</a>(ped-&gt;<a class="code" href="a01901.html#aa72255e7356d612ad72bb45def01fcbb">hwnd</a>, hdc);</div>
<div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160; </div>
<div class="line"><a name="l00796"></a><span class="lineno">  796</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00797"></a><span class="lineno">  797</span>&#160;    <span class="comment">// Update password character.</span></div>
<div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00799"></a><span class="lineno">  799</span>&#160;    <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#a1fc91eb74763e06a8da5a735e358783f">charPasswordChar</a>)</div>
<div class="line"><a name="l00800"></a><span class="lineno">  800</span>&#160;        <a class="code" href="a00122.html#a6321a49a13ae3923b1d9efae1c6650c9">ECSetPasswordChar</a>(ped, ped-&gt;<a class="code" href="a01901.html#a1fc91eb74763e06a8da5a735e358783f">charPasswordChar</a>);</div>
<div class="line"><a name="l00801"></a><span class="lineno">  801</span>&#160; </div>
<div class="line"><a name="l00802"></a><span class="lineno">  802</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00803"></a><span class="lineno">  803</span>&#160;    <span class="comment">// If it is a TrueType font and it&#39;s a new app, set both the margins at the</span></div>
<div class="line"><a name="l00804"></a><span class="lineno">  804</span>&#160;    <span class="comment">// max negative width values for all types of the edit controls.</span></div>
<div class="line"><a name="l00805"></a><span class="lineno">  805</span>&#160;    <span class="comment">// (NOTE: Can&#39;t use ped-&gt;f40Compat here because edit-controls inside dialog</span></div>
<div class="line"><a name="l00806"></a><span class="lineno">  806</span>&#160;    <span class="comment">// boxes without DS_LOCALEDIT style are always marked as 4.0 compat.</span></div>
<div class="line"><a name="l00807"></a><span class="lineno">  807</span>&#160;    <span class="comment">// This is the fix for NETBENCH 3.0)</span></div>
<div class="line"><a name="l00808"></a><span class="lineno">  808</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00809"></a><span class="lineno">  809</span>&#160; </div>
<div class="line"><a name="l00810"></a><span class="lineno">  810</span>&#160;    <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#aac7a4be0e6671efe82a9d80d190951fc">fTrueType</a> &amp;&amp; (GetAppVer(NULL) &gt;= VER40))</div>
<div class="line"><a name="l00811"></a><span class="lineno">  811</span>&#160;        <a class="code" href="a00122.html#a6f04d5c39809af17fd5ea8d48e67ff37">ECSetMargin</a>(ped, EC_LEFTMARGIN | EC_RIGHTMARGIN,</div>
<div class="line"><a name="l00812"></a><span class="lineno">  812</span>&#160;                    MAKELONG(EC_USEFONTINFO, EC_USEFONTINFO), fRedraw);</div>
<div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160; </div>
<div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;    <span class="comment">// We need to calc maxPixelWidth when font changes.</span></div>
<div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;    <span class="comment">// If the word-wrap is ON, then this is done in MLSize() called later.</span></div>
<div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;    <span class="keywordflow">if</span>((!ped-&gt;<a class="code" href="a01901.html#a1ea0a3be0b09e87fa9f883c2161813c9">fSingle</a>) &amp;&amp; (!ped-&gt;<a class="code" href="a01901.html#a37bdf3472a25ade90d92aafe2a063113">fWrap</a>))</div>
<div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;        <a class="code" href="a00128.html#a7b8b5ce2c2de282a118f017cd70092e3">MLBuildchLines</a>(ped, 0, 0, FALSE, NULL, NULL);</div>
<div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160; </div>
<div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160;    <span class="comment">// Recalc the layout.</span></div>
<div class="line"><a name="l00823"></a><span class="lineno">  823</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00824"></a><span class="lineno">  824</span>&#160;    <a class="code" href="a00122.html#a8f444e82be3de51b57983de0854356ed">ECSize</a>(ped, NULL, fRedraw);</div>
<div class="line"><a name="l00825"></a><span class="lineno">  825</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00257_source.html#l00758">tagED::aveCharWidth</a>, <a class="el" href="a00257_source.html#l00760">tagED::charOverhang</a>, <a class="el" href="a00257_source.html#l00668">tagED::charPasswordChar</a>, <a class="el" href="a00257_source.html#l00771">tagED::charSet</a>, <a class="el" href="a00257_source.html#l00769">tagED::charWidthBuffer</a>, <a class="el" href="a00257_source.html#l00761">tagED::cxSysCharWidth</a>, <a class="el" href="a00365_source.html#l01013">tagSERVERINFO::cxSysFontChar</a>, <a class="el" href="a00257_source.html#l00762">tagED::cySysCharHeight</a>, <a class="el" href="a00365_source.html#l01014">tagSERVERINFO::cySysFontChar</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00122_source.html#l00060">ECGetCaretWidth()</a>, <a class="el" href="a00122_source.html#l00574">ECSetFont()</a>, <a class="el" href="a00122_source.html#l00082">ECSetMargin()</a>, <a class="el" href="a00122_source.html#l00409">ECSetPasswordChar()</a>, <a class="el" href="a00122_source.html#l00488">ECSize()</a>, <a class="el" href="a00257_source.html#l00731">tagED::f40Compat</a>, <a class="el" href="a00257_source.html#l00692">tagED::fFocus</a>, <a class="el" href="a00257_source.html#l00695">tagED::fNonPropFont</a>, <a class="el" href="a00257_source.html#l00689">tagED::fSingle</a>, <a class="el" href="a00257_source.html#l00728">tagED::fTrueType</a>, <a class="el" href="a00257_source.html#l00704">tagED::fWrap</a>, <a class="el" href="a00122_source.html#l00072">GetMaxOverlapChars()</a>, <a class="el" href="a00122_source.html#l00445">GetNegABCwidthInfo()</a>, <a class="el" href="a00020_source.html#l00039">gpsi</a>, <a class="el" href="a00257_source.html#l00755">tagED::hFont</a>, <a class="el" href="a00257_source.html#l00674">tagED::hwnd</a>, <a class="el" href="a00257_source.html#l00759">tagED::lineHeight</a>, <a class="el" href="a00257_source.html#l00786">tagED::lpfnCharset</a>, <a class="el" href="a00128_source.html#l01261">MLBuildchLines()</a>, <a class="el" href="a03614_source.html#l05177">NtUserCreateCaret()</a>, <a class="el" href="a03614_source.html#l05248">NtUserGetDC()</a>, <a class="el" href="a03614_source.html#l04041">NtUserHideCaret()</a>, <a class="el" href="a03614_source.html#l04833">NtUserShowCaret()</a>, <a class="el" href="a00026_source.html#l00885">ReleaseDC()</a>, <a class="el" href="a00371_source.html#l00029">RIP_WARNING</a>, <a class="el" href="a00371_source.html#l00131">RIPMSG0</a>, <a class="el" href="a00365_source.html#l01017">tagSERVERINFO::tmSysFont</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT()</a>, <a class="el" href="a00257_source.html#l00776">tagED::wMaxNegA</a>, <a class="el" href="a00257_source.html#l00777">tagED::wMaxNegAcharPos</a>, <a class="el" href="a00257_source.html#l00778">tagED::wMaxNegC</a> , 以及 <a class="el" href="a00257_source.html#l00779">tagED::wMaxNegCcharPos</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00122_source.html#l00574">ECSetFont()</a>, <a class="el" href="a00125_source.html#l02302">EditWndProc()</a>, <a class="el" href="a00134_source.html#l00021">MLCreate()</a> , 以及 <a class="el" href="a00140_source.html#l00025">SLCreate()</a>.</p>

</div>
</div>
<a id="a6f04d5c39809af17fd5ea8d48e67ff37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f04d5c39809af17fd5ea8d48e67ff37">&#9670;&nbsp;</a></span>ECSetMargin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ECSetMargin </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a>&#160;</td>
          <td class="paramname"><em>ped</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>wFlags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>lMarginValues</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BOOL&#160;</td>
          <td class="paramname"><em>fRedraw</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00122_source.html">edecrare.c</a> 第 <a class="el" href="a00122_source.html#l00082">82</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;{</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    BOOL fUseFontInfo = FALSE;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> wValue, wOldLeftMargin, wOldRightMargin;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <span class="keywordflow">if</span> (wFlags &amp; EC_LEFTMARGIN)  <span class="comment">/* Set the left margin */</span> {</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        <span class="keywordflow">if</span> ((<span class="keywordtype">int</span>) (wValue = (<span class="keywordtype">int</span>)(<span class="keywordtype">short</span>)LOWORD(lMarginValues)) &lt; 0) {</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;            fUseFontInfo = TRUE;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;            wValue = ped-&gt;<a class="code" href="a01901.html#aca11e9141269a54ffda79ec776e4d679">wMaxNegA</a>;  <span class="comment">/* Use Max neg A for current font */</span></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        }</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        ped-&gt;<a class="code" href="a01901.html#ab03c83ca94b99614de316dd0a861a29b">rcFmt</a>.left += wValue - ped-&gt;<a class="code" href="a01901.html#ae004c105331877165669266ff7ec37f9">wLeftMargin</a>;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        wOldLeftMargin = ped-&gt;<a class="code" href="a01901.html#ae004c105331877165669266ff7ec37f9">wLeftMargin</a>;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        ped-&gt;<a class="code" href="a01901.html#ae004c105331877165669266ff7ec37f9">wLeftMargin</a> = wValue;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    }</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="keywordflow">if</span> (wFlags &amp; EC_RIGHTMARGIN)  <span class="comment">/* Set the Right margin */</span> {</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; </div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        <span class="keywordflow">if</span> ((<span class="keywordtype">int</span>) (wValue = (<span class="keywordtype">int</span>)(<span class="keywordtype">short</span>)HIWORD(lMarginValues)) &lt; 0) {</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;            fUseFontInfo = TRUE;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;            wValue = ped-&gt;<a class="code" href="a01901.html#a560d79883079b560961fefdf0934369a">wMaxNegC</a>;  <span class="comment">/* Use Max neg C for current font */</span></div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        }</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        ped-&gt;<a class="code" href="a01901.html#ab03c83ca94b99614de316dd0a861a29b">rcFmt</a>.right -= wValue - ped-&gt;<a class="code" href="a01901.html#af6031cf3a4495fdc882641cd1a3f5a6d">wRightMargin</a>;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        wOldRightMargin = ped-&gt;<a class="code" href="a01901.html#af6031cf3a4495fdc882641cd1a3f5a6d">wRightMargin</a>;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        ped-&gt;<a class="code" href="a01901.html#af6031cf3a4495fdc882641cd1a3f5a6d">wRightMargin</a> = wValue;</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    }</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="keywordflow">if</span> (fUseFontInfo) {</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#ab03c83ca94b99614de316dd0a861a29b">rcFmt</a>.right - ped-&gt;<a class="code" href="a01901.html#ab03c83ca94b99614de316dd0a861a29b">rcFmt</a>.left &lt; 2 * ped-&gt;<a class="code" href="a01901.html#ab660860ffa906bd4a4a19c2fda18f9d8">aveCharWidth</a>) {</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;            <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;ECSetMargin: rcFmt is too narrow for EC_USEFONTINFO&quot;</span>);</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;            <span class="keywordflow">if</span> (wFlags &amp; EC_LEFTMARGIN)  <span class="comment">/* Reset the left margin */</span> {</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;                ped-&gt;<a class="code" href="a01901.html#ab03c83ca94b99614de316dd0a861a29b">rcFmt</a>.left += wOldLeftMargin - ped-&gt;<a class="code" href="a01901.html#ae004c105331877165669266ff7ec37f9">wLeftMargin</a>;</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;                ped-&gt;<a class="code" href="a01901.html#ae004c105331877165669266ff7ec37f9">wLeftMargin</a> = wOldLeftMargin;</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;            }</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160; </div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;            <span class="keywordflow">if</span> (wFlags &amp; EC_RIGHTMARGIN)  <span class="comment">/* Reset the Right margin */</span> {</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;                ped-&gt;<a class="code" href="a01901.html#ab03c83ca94b99614de316dd0a861a29b">rcFmt</a>.right -= wOldRightMargin - ped-&gt;<a class="code" href="a01901.html#af6031cf3a4495fdc882641cd1a3f5a6d">wRightMargin</a>;</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;                ped-&gt;<a class="code" href="a01901.html#af6031cf3a4495fdc882641cd1a3f5a6d">wRightMargin</a> = wOldRightMargin;</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;            }</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160; </div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;            <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;        }</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    }</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="comment">//    NtUserInvalidateRect(ped-&gt;hwnd, NULL, TRUE);</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="keywordflow">if</span> (fRedraw) {</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        <a class="code" href="a00125.html#a62fb6804f89dc2b131e76680f82b46a8">ECInvalidateClient</a>(ped, TRUE);</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    }</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00257_source.html#l00758">tagED::aveCharWidth</a>, <a class="el" href="a00125_source.html#l02076">ECInvalidateClient()</a>, <a class="el" href="a00257_source.html#l00676">tagED::rcFmt</a>, <a class="el" href="a00371_source.html#l00029">RIP_WARNING</a>, <a class="el" href="a00371_source.html#l00131">RIPMSG0</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT()</a>, <a class="el" href="a00257_source.html#l00780">tagED::wLeftMargin</a>, <a class="el" href="a00257_source.html#l00776">tagED::wMaxNegA</a>, <a class="el" href="a00257_source.html#l00778">tagED::wMaxNegC</a> , 以及 <a class="el" href="a00257_source.html#l00781">tagED::wRightMargin</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00122_source.html#l00574">ECSetFont()</a> , 以及 <a class="el" href="a00125_source.html#l02302">EditWndProc()</a>.</p>

</div>
</div>
<a id="a6321a49a13ae3923b1d9efae1c6650c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6321a49a13ae3923b1d9efae1c6650c9">&#9670;&nbsp;</a></span>ECSetPasswordChar()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ECSetPasswordChar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a>&#160;</td>
          <td class="paramname"><em>ped</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>pwchar</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00122_source.html">edecrare.c</a> 第 <a class="el" href="a00122_source.html#l00409">409</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;{</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;    HDC hdc;</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;    SIZE size;</div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160; </div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;    ped-&gt;<a class="code" href="a01901.html#a1fc91eb74763e06a8da5a735e358783f">charPasswordChar</a> = pwchar;</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160; </div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;    <span class="keywordflow">if</span> (pwchar) {</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;        hdc = <a class="code" href="a00125.html#a8442f6745c1edc096b532bf21606e25a">ECGetEditDC</a>(ped, TRUE);</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;        GetTextExtentPointW(hdc, (LPWSTR)&amp;pwchar, 1, &amp;size);</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;        ped-&gt;<a class="code" href="a01901.html#ab83f282e0d9ba01db145bc2a64db07f6">cPasswordCharWidth</a> = max(size.cx, 1);</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;        <a class="code" href="a00125.html#a343438939eedd81fc70a8ab0e6214112">ECReleaseEditDC</a>(ped, hdc, TRUE);</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;    }</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;<span class="preprocessor">#ifdef SUPPORT_LPK</span></div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;    <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#a29e9c1357646dc090d11d6b7e76f9f51">lpfnCharset</a>)</div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;        (* ped-&gt;<a class="code" href="a01901.html#a29e9c1357646dc090d11d6b7e76f9f51">lpfnCharset</a>)(ped, EDITINTL_SETPASSWORD, pwchar ? TRUE : FALSE);</div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;<span class="preprocessor">#endif // SUPPORT_LPK</span></div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160; </div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;    <span class="keywordflow">if</span> (pwchar)</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;        <a class="code" href="a00026.html#ab4added876586c5164dae9aaba3e7691">SetWindowState</a>(ped-&gt;<a class="code" href="a01901.html#a63d2978bed54249f685782e78ce4d423">pwnd</a>, EFPASSWORD);</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;        <a class="code" href="a00026.html#a0cecedf7a462633cf5456292b526d8ec">ClearWindowState</a>(ped-&gt;<a class="code" href="a01901.html#a63d2978bed54249f685782e78ce4d423">pwnd</a>, EFPASSWORD);</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160; </div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00257_source.html#l00668">tagED::charPasswordChar</a>, <a class="el" href="a00026_source.html#l02834">ClearWindowState()</a>, <a class="el" href="a00257_source.html#l00672">tagED::cPasswordCharWidth</a>, <a class="el" href="a00125_source.html#l01890">ECGetEditDC()</a>, <a class="el" href="a00125_source.html#l01922">ECReleaseEditDC()</a>, <a class="el" href="a00257_source.html#l00786">tagED::lpfnCharset</a>, <a class="el" href="a00257_source.html#l00675">tagED::pwnd</a> , 以及 <a class="el" href="a00026_source.html#l02826">SetWindowState()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00122_source.html#l00574">ECSetFont()</a>, <a class="el" href="a00125_source.html#l02302">EditWndProc()</a> , 以及 <a class="el" href="a00140_source.html#l00025">SLCreate()</a>.</p>

</div>
</div>
<a id="a8f444e82be3de51b57983de0854356ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f444e82be3de51b57983de0854356ed">&#9670;&nbsp;</a></span>ECSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ECSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a>&#160;</td>
          <td class="paramname"><em>ped</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPRECT&#160;</td>
          <td class="paramname"><em>lprc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BOOL&#160;</td>
          <td class="paramname"><em>fRedraw</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00122_source.html">edecrare.c</a> 第 <a class="el" href="a00122_source.html#l00488">488</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;{</div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;    RECT    rc;</div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160; </div>
<div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;    <span class="comment">// assume that we won&#39;t be able to display the caret</span></div>
<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;    ped-&gt;<a class="code" href="a01901.html#a67097db1f98d29921216910064763f66">fCaretHidden</a> = TRUE;</div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160; </div>
<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160; </div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;    <span class="keywordflow">if</span> ( lprc )</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;        <a class="code" href="a00935.html#a31ccccdb469eefbb55d18b71a26af0da">CopyRect</a>(&amp;rc, lprc);</div>
<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;        <a class="code" href="a00365.html#a373eb8782e10ebad75e466db8d01ebe0">_GetClientRect</a>(ped-&gt;<a class="code" href="a01901.html#a63d2978bed54249f685782e78ce4d423">pwnd</a>, &amp;rc);</div>
<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160; </div>
<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;    <span class="keywordflow">if</span> (!(rc.right - rc.left) || !(rc.bottom - rc.top)) {</div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;        <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#ab03c83ca94b99614de316dd0a861a29b">rcFmt</a>.right - ped-&gt;<a class="code" href="a01901.html#ab03c83ca94b99614de316dd0a861a29b">rcFmt</a>.left)</div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;            <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160; </div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;        rc.left     = 0;</div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;        rc.top      = 0;</div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;        rc.right    = ped-&gt;<a class="code" href="a01901.html#ab660860ffa906bd4a4a19c2fda18f9d8">aveCharWidth</a> * 10;</div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;        rc.bottom   = ped-&gt;<a class="code" href="a01901.html#a6d05df78d71f440c6a9d54c22ced77eb">lineHeight</a>;</div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;    }</div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160; </div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;    <span class="keywordflow">if</span> (!lprc) {</div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;        <span class="comment">// subtract the margins from the given rectangle --</span></div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;        <span class="comment">// make sure that this rectangle is big enough to have these margins.</span></div>
<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;        <span class="keywordflow">if</span> ((rc.right - rc.left) &gt; (<span class="keywordtype">int</span>)(ped-&gt;<a class="code" href="a01901.html#ae004c105331877165669266ff7ec37f9">wLeftMargin</a> + ped-&gt;<a class="code" href="a01901.html#af6031cf3a4495fdc882641cd1a3f5a6d">wRightMargin</a>)) {</div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;            rc.left  += ped-&gt;<a class="code" href="a01901.html#ae004c105331877165669266ff7ec37f9">wLeftMargin</a>;</div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;            rc.right -= ped-&gt;<a class="code" href="a01901.html#af6031cf3a4495fdc882641cd1a3f5a6d">wRightMargin</a>;</div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;        }</div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;    }</div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160; </div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;    <span class="comment">// Leave space so text doesn&#39;t touch borders.</span></div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;    <span class="comment">// For 3.1 compatibility, don&#39;t subtract out vertical borders unless</span></div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;    <span class="comment">// there is room.</span></div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;    <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#a39109fda55461db48b8cad98765d3d4f">fBorder</a>) {</div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;        <span class="keywordtype">int</span> cxBorder = SYSMET(CXBORDER);</div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;        <span class="keywordtype">int</span> cyBorder = SYSMET(CYBORDER);</div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160; </div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;        <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#a7567bd6484ab4f9d33ef3c8f8a1045b8">fFlatBorder</a>)</div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;        {</div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;            cxBorder *= 2;</div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;            cyBorder *= 2;</div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;        }</div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160; </div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;        <span class="keywordflow">if</span> (rc.bottom &lt; rc.top + ped-&gt;<a class="code" href="a01901.html#a6d05df78d71f440c6a9d54c22ced77eb">lineHeight</a> + 2*cyBorder)</div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;            cyBorder = 0;</div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160; </div>
<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;        <a class="code" href="a00935.html#afa361f1e7cc3d9957b148ff982f8d030">InflateRect</a>(&amp;rc, -cxBorder, -cyBorder);</div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;    }</div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160; </div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;    <span class="comment">// Is the resulting rectangle too small?  Don&#39;t change it then.</span></div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;    <span class="keywordflow">if</span> ((!ped-&gt;<a class="code" href="a01901.html#a1ea0a3be0b09e87fa9f883c2161813c9">fSingle</a>) &amp;&amp; ((rc.right - rc.left &lt; (<span class="keywordtype">int</span>) ped-&gt;<a class="code" href="a01901.html#ab660860ffa906bd4a4a19c2fda18f9d8">aveCharWidth</a>) ||</div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;        ((rc.bottom - rc.top) / ped-&gt;<a class="code" href="a01901.html#a6d05df78d71f440c6a9d54c22ced77eb">lineHeight</a> == 0)))</div>
<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160; </div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;    <span class="comment">// now, we know we&#39;re safe to display the caret</span></div>
<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;    ped-&gt;<a class="code" href="a01901.html#a67097db1f98d29921216910064763f66">fCaretHidden</a> = FALSE;</div>
<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160; </div>
<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;    <a class="code" href="a00935.html#a31ccccdb469eefbb55d18b71a26af0da">CopyRect</a>(&amp;ped-&gt;<a class="code" href="a01901.html#ab03c83ca94b99614de316dd0a861a29b">rcFmt</a>, &amp;rc);</div>
<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160; </div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;    <span class="keywordflow">if</span> (ped-&gt;<a class="code" href="a01901.html#a1ea0a3be0b09e87fa9f883c2161813c9">fSingle</a>)</div>
<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;        ped-&gt;<a class="code" href="a01901.html#ab03c83ca94b99614de316dd0a861a29b">rcFmt</a>.bottom = min(rc.bottom, rc.top + ped-&gt;<a class="code" href="a01901.html#a6d05df78d71f440c6a9d54c22ced77eb">lineHeight</a>);</div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;        <a class="code" href="a00128.html#a4eab377697997abaad1466d5f3683031">MLSize</a>(ped, fRedraw);</div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160; </div>
<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;    <span class="keywordflow">if</span> (fRedraw) {</div>
<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;        <a class="code" href="a00362.html#acfbb149ad39bc9929fb7063d4276e470">NtUserInvalidateRect</a>(ped-&gt;<a class="code" href="a01901.html#aa72255e7356d612ad72bb45def01fcbb">hwnd</a>, NULL, TRUE);</div>
<div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;        <span class="comment">// UpdateWindow31(ped-&gt;hwnd);    Evaluates to NOP in Chicago - Johnl</span></div>
<div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;    }</div>
<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03752_source.html#l00745">_GetClientRect()</a>, <a class="el" href="a00257_source.html#l00758">tagED::aveCharWidth</a>, <a class="el" href="a00935_source.html#l00391">CopyRect()</a>, <a class="el" href="a00257_source.html#l00696">tagED::fBorder</a>, <a class="el" href="a00257_source.html#l00724">tagED::fCaretHidden</a>, <a class="el" href="a00257_source.html#l00732">tagED::fFlatBorder</a>, <a class="el" href="a00257_source.html#l00689">tagED::fSingle</a>, <a class="el" href="a00257_source.html#l00674">tagED::hwnd</a>, <a class="el" href="a00935_source.html#l00158">InflateRect()</a>, <a class="el" href="a00257_source.html#l00759">tagED::lineHeight</a>, <a class="el" href="a00128_source.html#l00052">MLSize()</a>, <a class="el" href="a03614_source.html#l04092">NtUserInvalidateRect()</a>, <a class="el" href="a00257_source.html#l00675">tagED::pwnd</a>, <a class="el" href="a00257_source.html#l00676">tagED::rcFmt</a>, <a class="el" href="a00257_source.html#l00780">tagED::wLeftMargin</a> , 以及 <a class="el" href="a00257_source.html#l00781">tagED::wRightMargin</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00122_source.html#l00574">ECSetFont()</a>, <a class="el" href="a00128_source.html#l03002">MLEditWndProc()</a> , 以及 <a class="el" href="a00131_source.html#l02120">SLEditWndProc()</a>.</p>

</div>
</div>
<a id="abcbe02a7c852f0c02d82ceed95d021af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcbe02a7c852f0c02d82ceed95d021af">&#9670;&nbsp;</a></span>GetMaxOverlapChars()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> GetMaxOverlapChars </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00122_source.html">edecrare.c</a> 第 <a class="el" href="a00122_source.html#l00072">72</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;{</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="keywordflow">return</span> (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>) MAKELONG( <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a2293bf0ef428f41122dfa8291b92bfae">wMaxLeftOverlapChars</a>, <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a6d4a3d0da39a9625530bd9589823fbf0">wMaxRightOverlapChars</a> ) ;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00020_source.html#l00039">gpsi</a>, <a class="el" href="a00365_source.html#l01004">tagSERVERINFO::wMaxLeftOverlapChars</a> , 以及 <a class="el" href="a00365_source.html#l01005">tagSERVERINFO::wMaxRightOverlapChars</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00122_source.html#l00574">ECSetFont()</a>.</p>

</div>
</div>
<a id="ad8e059188b93f3d2eec00ae37f21e996"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8e059188b93f3d2eec00ae37f21e996">&#9670;&nbsp;</a></span>GetNegABCwidthInfo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL GetNegABCwidthInfo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00257.html#ade4a1e740f9d06527c30eea655640da5">PED</a>&#160;</td>
          <td class="paramname"><em>ped</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HDC&#160;</td>
          <td class="paramname"><em>hdc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00122_source.html">edecrare.c</a> 第 <a class="el" href="a00122_source.html#l00445">445</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;{</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;    LPABC lpABCbuff;</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;    <span class="keywordtype">int</span>   i;</div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;    <span class="keywordtype">int</span>   CharWidthBuff[CHAR_WIDTH_BUFFER_LENGTH]; <span class="comment">// Local char width buffer.</span></div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;    <span class="keywordtype">int</span>   iOverhang;</div>
<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160; </div>
<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160; </div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;   <span class="keywordflow">if</span> (!GetCharABCWidthsA(hdc, 0, CHAR_WIDTH_BUFFER_LENGTH-1, (LPABC)ped-&gt;<a class="code" href="a01901.html#af73f33d650f35bbba3a6403566610116">charWidthBuffer</a>)) {</div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;       <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;GetNegABCwidthInfo: GetCharABCWidthsA Failed&quot;</span>);</div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;       <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;   }</div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160; </div>
<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;   <span class="comment">// The (A+B+C) returned for some fonts (eg: Lucida Caligraphy) does not</span></div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;   <span class="comment">// equal the actual advanced width returned by GetCharWidths() minus overhang.</span></div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;   <span class="comment">// This is due to font bugs. So, we adjust the &#39;B&#39; width so that this</span></div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;   <span class="comment">// discrepancy is removed.</span></div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;   <span class="comment">// Fix for Bug #2932 --sankar-- 02/17/93</span></div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;   iOverhang = ped-&gt;<a class="code" href="a01901.html#a1b5d2e62e62753fd3d9acf72c4ba1510">charOverhang</a>;</div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;   GetCharWidthA(hdc, 0, CHAR_WIDTH_BUFFER_LENGTH-1, (LPINT)CharWidthBuff);</div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;   lpABCbuff = (LPABC)ped-&gt;<a class="code" href="a01901.html#af73f33d650f35bbba3a6403566610116">charWidthBuffer</a>;</div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;   <span class="keywordflow">for</span>(i = 0; i &lt; CHAR_WIDTH_BUFFER_LENGTH; i++) {</div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;        lpABCbuff-&gt;abcB = CharWidthBuff[i] - iOverhang</div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;                - lpABCbuff-&gt;abcA</div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;                - lpABCbuff-&gt;abcC;</div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;        lpABCbuff++;</div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;   }</div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160; </div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;   <span class="keywordflow">return</span>(TRUE);</div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00257_source.html#l00760">tagED::charOverhang</a>, <a class="el" href="a00257_source.html#l00769">tagED::charWidthBuffer</a>, <a class="el" href="a00371_source.html#l00029">RIP_WARNING</a> , 以及 <a class="el" href="a00371_source.html#l00131">RIPMSG0</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00122_source.html#l00574">ECSetFont()</a>.</p>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="a753ab82661361d0748fa41baec3d7fc2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a753ab82661361d0748fa41baec3d7fc2">&#9670;&nbsp;</a></span>EditLookaside</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00257.html#a8e3141575761c7ff2faf5a379f2c8797">LOOKASIDE</a> EditLookaside</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00125_source.html">editec.c</a> 第 <a class="el" href="a00125_source.html#l00016">16</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00122_source.html#l00188">ECNcCreate()</a>, <a class="el" href="a00122_source.html#l00333">ECNcDestroyHandler()</a> , 以及 <a class="el" href="a00125_source.html#l02225">EditWndProcWorker()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa01901_html_a18ecf26174a7b4520ebc1d98a810f457"><div class="ttname"><a href="a01901.html#a18ecf26174a7b4520ebc1d98a810f457">tagED::cbChar</a></div><div class="ttdeci">WORD cbChar</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00742">usercli.h:742</a></div></div>
<div class="ttc" id="aa00122_html_adc7aa0d32f2349c7811c1384e693ffce"><div class="ttname"><a href="a00122.html#adc7aa0d32f2349c7811c1384e693ffce">ECGetCaretWidth</a></div><div class="ttdeci">int ECGetCaretWidth(BOOL fMultiLine)</div><div class="ttdef"><b>Definition:</b> <a href="a00122_source.html#l00060">edecrare.c:60</a></div></div>
<div class="ttc" id="aa00371_html_a01c4659626880ba56745765a3580a36b"><div class="ttname"><a href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a></div><div class="ttdeci">#define RIPMSG0(flags, szFmt)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00131">winerrp.h:131</a></div></div>
<div class="ttc" id="aa00125_html_a5235c9fe24a71a0fac1a6c9326d13ac8"><div class="ttname"><a href="a00125.html#a5235c9fe24a71a0fac1a6c9326d13ac8">ECLock</a></div><div class="ttdeci">PSTR ECLock(PED ped)</div><div class="ttdef"><b>Definition:</b> <a href="a00125_source.html#l00038">editec.c:38</a></div></div>
<div class="ttc" id="aa00128_html_a4eab377697997abaad1466d5f3683031"><div class="ttname"><a href="a00128.html#a4eab377697997abaad1466d5f3683031">MLSize</a></div><div class="ttdeci">void MLSize(PED ped, BOOL fRedraw)</div><div class="ttdef"><b>Definition:</b> <a href="a00128_source.html#l00052">editml.c:52</a></div></div>
<div class="ttc" id="aa00026_html_ab4added876586c5164dae9aaba3e7691"><div class="ttname"><a href="a00026.html#ab4added876586c5164dae9aaba3e7691">SetWindowState</a></div><div class="ttdeci">void SetWindowState(PWND pwnd, UINT flags)</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l02826">client.c:2826</a></div></div>
<div class="ttc" id="aa01901_html_a2a2727931540f92d7626ac1ef01957f6"><div class="ttname"><a href="a01901.html#a2a2727931540f92d7626ac1ef01957f6">tagED::fNonPropFont</a></div><div class="ttdeci">UINT fNonPropFont</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00695">usercli.h:695</a></div></div>
<div class="ttc" id="aa02513_html_a4bd4bf0c7aa2d88610b01f436ec2e82d"><div class="ttname"><a href="a02513.html#a4bd4bf0c7aa2d88610b01f436ec2e82d">tagSERVERINFO::cxSysFontChar</a></div><div class="ttdeci">int cxSysFontChar</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01013">user.h:1013</a></div></div>
<div class="ttc" id="aa01901_html_a28addd302ddcd18f236d3df387de182d"><div class="ttname"><a href="a01901.html#a28addd302ddcd18f236d3df387de182d">tagED::hFont</a></div><div class="ttdeci">HANDLE hFont</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00755">usercli.h:755</a></div></div>
<div class="ttc" id="aa01901_html_aa05df0ab87a7a68915d7081fe467abd0"><div class="ttname"><a href="a01901.html#aa05df0ab87a7a68915d7081fe467abd0">tagED::fWin31Compat</a></div><div class="ttdeci">UINT fWin31Compat</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00730">usercli.h:730</a></div></div>
<div class="ttc" id="aa00362_html_abf4a1d1e53f7703a429cf806f38e0fcc"><div class="ttname"><a href="a00362.html#abf4a1d1e53f7703a429cf806f38e0fcc">NtUserSetWindowFNID</a></div><div class="ttdeci">BOOL NtUserSetWindowFNID(IN HWND hwnd, IN WORD fnid)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l06170">kernel/ntstubs.c:6170</a></div></div>
<div class="ttc" id="aa00122_html_a6321a49a13ae3923b1d9efae1c6650c9"><div class="ttname"><a href="a00122.html#a6321a49a13ae3923b1d9efae1c6650c9">ECSetPasswordChar</a></div><div class="ttdeci">void ECSetPasswordChar(PED ped, UINT pwchar)</div><div class="ttdef"><b>Definition:</b> <a href="a00122_source.html#l00409">edecrare.c:409</a></div></div>
<div class="ttc" id="aa01901_html_a463aa02706bb276f52cef8904d11edf2"><div class="ttname"><a href="a01901.html#a463aa02706bb276f52cef8904d11edf2">tagED::cchTextMax</a></div><div class="ttdeci">ICH cchTextMax</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00645">usercli.h:645</a></div></div>
<div class="ttc" id="aa00122_html_ad8e059188b93f3d2eec00ae37f21e996"><div class="ttname"><a href="a00122.html#ad8e059188b93f3d2eec00ae37f21e996">GetNegABCwidthInfo</a></div><div class="ttdeci">BOOL GetNegABCwidthInfo(PED ped, HDC hdc)</div><div class="ttdef"><b>Definition:</b> <a href="a00122_source.html#l00445">edecrare.c:445</a></div></div>
<div class="ttc" id="aa00125_html_a8442f6745c1edc096b532bf21606e25a"><div class="ttname"><a href="a00125.html#a8442f6745c1edc096b532bf21606e25a">ECGetEditDC</a></div><div class="ttdeci">HDC ECGetEditDC(PED ped, BOOL fFastDC)</div><div class="ttdef"><b>Definition:</b> <a href="a00125_source.html#l01890">editec.c:1890</a></div></div>
<div class="ttc" id="aa01901_html_aac7a4be0e6671efe82a9d80d190951fc"><div class="ttname"><a href="a01901.html#aac7a4be0e6671efe82a9d80d190951fc">tagED::fTrueType</a></div><div class="ttdeci">UINT fTrueType</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00728">usercli.h:728</a></div></div>
<div class="ttc" id="aa00122_html_a753ab82661361d0748fa41baec3d7fc2"><div class="ttname"><a href="a00122.html#a753ab82661361d0748fa41baec3d7fc2">EditLookaside</a></div><div class="ttdeci">LOOKASIDE EditLookaside</div><div class="ttdef"><b>Definition:</b> <a href="a00125_source.html#l00016">editec.c:16</a></div></div>
<div class="ttc" id="aa01901_html_a7567bd6484ab4f9d33ef3c8f8a1045b8"><div class="ttname"><a href="a01901.html#a7567bd6484ab4f9d33ef3c8f8a1045b8">tagED::fFlatBorder</a></div><div class="ttdeci">UINT fFlatBorder</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00732">usercli.h:732</a></div></div>
<div class="ttc" id="aa01901_html_af4b618c659352ed1ad47e7b5a0f06480"><div class="ttname"><a href="a01901.html#af4b618c659352ed1ad47e7b5a0f06480">tagED::fNoHideSel</a></div><div class="ttdeci">UINT fNoHideSel</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00699">usercli.h:699</a></div></div>
<div class="ttc" id="aa00041_html_a56a2a5f665575c0310d1a35792f43b13"><div class="ttname"><a href="a00041.html#a56a2a5f665575c0310d1a35792f43b13">DefWindowProcWorker</a></div><div class="ttdeci">LONG DefWindowProcWorker(PWND pwnd, UINT message, WPARAM wParam, LPARAM lParam, DWORD fAnsi)</div><div class="ttdef"><b>Definition:</b> <a href="a00041_source.html#l00555">clmsg.c:555</a></div></div>
<div class="ttc" id="aa01901_html_afeee4bc01f4c0be43cb8f89d23474f7c"><div class="ttname"><a href="a01901.html#afeee4bc01f4c0be43cb8f89d23474f7c">tagED::fAnsi</a></div><div class="ttdeci">UINT fAnsi</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00729">usercli.h:729</a></div></div>
<div class="ttc" id="aa01901_html_af73f33d650f35bbba3a6403566610116"><div class="ttname"><a href="a01901.html#af73f33d650f35bbba3a6403566610116">tagED::charWidthBuffer</a></div><div class="ttdeci">LPINT charWidthBuffer</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00769">usercli.h:769</a></div></div>
<div class="ttc" id="aa00362_html_a1eefde3313bfafab921776948a45e595"><div class="ttname"><a href="a00362.html#a1eefde3313bfafab921776948a45e595">NtUserGetDC</a></div><div class="ttdeci">HDC NtUserGetDC(IN HWND hwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l05248">kernel/ntstubs.c:5248</a></div></div>
<div class="ttc" id="aa00365_html_a373eb8782e10ebad75e466db8d01ebe0"><div class="ttname"><a href="a00365.html#a373eb8782e10ebad75e466db8d01ebe0">_GetClientRect</a></div><div class="ttdeci">BOOL _GetClientRect(PWND pwnd, LPRECT prc)</div><div class="ttdef"><b>Definition:</b> <a href="a03752_source.html#l00745">rtl/wow.c:745</a></div></div>
<div class="ttc" id="aa00362_html_aec4d675ce59621970f17f1501ed7e457"><div class="ttname"><a href="a00362.html#aec4d675ce59621970f17f1501ed7e457">NtUserShowCaret</a></div><div class="ttdeci">BOOL NtUserShowCaret(IN HWND hwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l04833">kernel/ntstubs.c:4833</a></div></div>
<div class="ttc" id="aa03263_html_af243efbc42d8cf84d6eaf4e018cac917"><div class="ttname"><a href="a03263.html#af243efbc42d8cf84d6eaf4e018cac917">LOCALFREE</a></div><div class="ttdeci">#define LOCALFREE(hMem, hInstance)</div><div class="ttdef"><b>Definition:</b> <a href="a03263_source.html#l00114">client/globals.h:114</a></div></div>
<div class="ttc" id="aa01901_html_a3b759141b06c8b5281f3b2045e7cd00b"><div class="ttname"><a href="a01901.html#a3b759141b06c8b5281f3b2045e7cd00b">tagED::cch</a></div><div class="ttdeci">ICH cch</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00647">usercli.h:647</a></div></div>
<div class="ttc" id="aa01901_html_a73169549457ba1d129d00ae6a8cf1a9e"><div class="ttname"><a href="a01901.html#a73169549457ba1d129d00ae6a8cf1a9e">tagED::fFocus</a></div><div class="ttdeci">UINT fFocus</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00692">usercli.h:692</a></div></div>
<div class="ttc" id="aa00026_html_ae35231899b6d8b4a5e8d23b23b458104"><div class="ttname"><a href="a00026.html#ae35231899b6d8b4a5e8d23b23b458104">ReleaseDC</a></div><div class="ttdeci">BOOL WINAPI ReleaseDC(HWND hwnd, HDC hdc)</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l00885">client.c:885</a></div></div>
<div class="ttc" id="aa01901_html_a1fc91eb74763e06a8da5a735e358783f"><div class="ttname"><a href="a01901.html#a1fc91eb74763e06a8da5a735e358783f">tagED::charPasswordChar</a></div><div class="ttdeci">UINT charPasswordChar</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00668">usercli.h:668</a></div></div>
<div class="ttc" id="aa00122_html_a61a46b4348535c21dff33f8b0f27c31f"><div class="ttname"><a href="a00122.html#a61a46b4348535c21dff33f8b0f27c31f">ECSetFont</a></div><div class="ttdeci">void ECSetFont(PED ped, HFONT hfont, BOOL fRedraw)</div><div class="ttdef"><b>Definition:</b> <a href="a00122_source.html#l00574">edecrare.c:574</a></div></div>
<div class="ttc" id="aa01901_html_a1ea0a3be0b09e87fa9f883c2161813c9"><div class="ttname"><a href="a01901.html#a1ea0a3be0b09e87fa9f883c2161813c9">tagED::fSingle</a></div><div class="ttdeci">UINT fSingle</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00689">usercli.h:689</a></div></div>
<div class="ttc" id="aa00362_html_a5aaa23bf9e9f7a5135d6b7444f6581c7"><div class="ttname"><a href="a00362.html#a5aaa23bf9e9f7a5135d6b7444f6581c7">NtUserCreateCaret</a></div><div class="ttdeci">BOOL NtUserCreateCaret(IN HWND hwnd, IN HBITMAP hBitmap, IN int nWidth, IN int nHeight)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l05177">kernel/ntstubs.c:5177</a></div></div>
<div class="ttc" id="aa01901_html_a6d05df78d71f440c6a9d54c22ced77eb"><div class="ttname"><a href="a01901.html#a6d05df78d71f440c6a9d54c22ced77eb">tagED::lineHeight</a></div><div class="ttdeci">int lineHeight</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00759">usercli.h:759</a></div></div>
<div class="ttc" id="aa01901_html_a112e199d317590fb7356a47465b4c57c"><div class="ttname"><a href="a01901.html#a112e199d317590fb7356a47465b4c57c">tagED::hwndParent</a></div><div class="ttdeci">HWND hwndParent</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00677">usercli.h:677</a></div></div>
<div class="ttc" id="aa01901_html_a8b1fc138b0a5bf20a933e5414f088049"><div class="ttname"><a href="a01901.html#a8b1fc138b0a5bf20a933e5414f088049">tagED::cySysCharHeight</a></div><div class="ttdeci">int cySysCharHeight</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00762">usercli.h:762</a></div></div>
<div class="ttc" id="aa01901_html_a29e9c1357646dc090d11d6b7e76f9f51"><div class="ttname"><a href="a01901.html#a29e9c1357646dc090d11d6b7e76f9f51">tagED::lpfnCharset</a></div><div class="ttdeci">EDITCHARSETPROC lpfnCharset</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00786">usercli.h:786</a></div></div>
<div class="ttc" id="aa01901_html_ab660860ffa906bd4a4a19c2fda18f9d8"><div class="ttname"><a href="a01901.html#ab660860ffa906bd4a4a19c2fda18f9d8">tagED::aveCharWidth</a></div><div class="ttdeci">int aveCharWidth</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00758">usercli.h:758</a></div></div>
<div class="ttc" id="aa01901_html_a44bfbf1bad1abd1c46618c96f982aec4"><div class="ttname"><a href="a01901.html#a44bfbf1bad1abd1c46618c96f982aec4">tagED::hkl</a></div><div class="ttdeci">HKL hkl</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00774">usercli.h:774</a></div></div>
<div class="ttc" id="aa01901_html_a2b8477acb2bdd5157aa9b3665b9b5f73"><div class="ttname"><a href="a01901.html#a2b8477acb2bdd5157aa9b3665b9b5f73">tagED::fDisabled</a></div><div class="ttdeci">UINT fDisabled</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00694">usercli.h:694</a></div></div>
<div class="ttc" id="aa00125_html_a62fb6804f89dc2b131e76680f82b46a8"><div class="ttname"><a href="a00125.html#a62fb6804f89dc2b131e76680f82b46a8">ECInvalidateClient</a></div><div class="ttdeci">void ECInvalidateClient(PED ped, BOOL fErase)</div><div class="ttdef"><b>Definition:</b> <a href="a00125_source.html#l02076">editec.c:2076</a></div></div>
<div class="ttc" id="aa00125_html_a343438939eedd81fc70a8ab0e6214112"><div class="ttname"><a href="a00125.html#a343438939eedd81fc70a8ab0e6214112">ECReleaseEditDC</a></div><div class="ttdeci">void ECReleaseEditDC(PED ped, HDC hdc, BOOL fFastDC)</div><div class="ttdef"><b>Definition:</b> <a href="a00125_source.html#l01922">editec.c:1922</a></div></div>
<div class="ttc" id="aa00953_html_aebb9e13210d88d43e32e735ada43a425"><div class="ttname"><a href="a00953.html#aebb9e13210d88d43e32e735ada43a425">CHAR</a></div><div class="ttdeci">char CHAR</div><div class="ttdef"><b>Definition:</b> <a href="a00953_source.html#l00007">bench.c:7</a></div></div>
<div class="ttc" id="aa01901_html_aa72255e7356d612ad72bb45def01fcbb"><div class="ttname"><a href="a01901.html#aa72255e7356d612ad72bb45def01fcbb">tagED::hwnd</a></div><div class="ttdeci">HWND hwnd</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00674">usercli.h:674</a></div></div>
<div class="ttc" id="aa01901_html_aa4e24199aacde3c2ea82d9be4f6ce37a"><div class="ttname"><a href="a01901.html#aa4e24199aacde3c2ea82d9be4f6ce37a">tagED::hInstance</a></div><div class="ttdeci">HANDLE hInstance</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00791">usercli.h:791</a></div></div>
<div class="ttc" id="aa01901_html_af6031cf3a4495fdc882641cd1a3f5a6d"><div class="ttname"><a href="a01901.html#af6031cf3a4495fdc882641cd1a3f5a6d">tagED::wRightMargin</a></div><div class="ttdeci">UINT wRightMargin</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00781">usercli.h:781</a></div></div>
<div class="ttc" id="aa01901_html_ad65623ea72dac6fa68440434e35d64cd"><div class="ttname"><a href="a01901.html#ad65623ea72dac6fa68440434e35d64cd">tagED::fAutoHScroll</a></div><div class="ttdeci">UINT fAutoHScroll</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00698">usercli.h:698</a></div></div>
<div class="ttc" id="aa01901_html_a2c70647bf9cf74aa20872335d74b3143"><div class="ttname"><a href="a01901.html#a2c70647bf9cf74aa20872335d74b3143">tagED::wMaxNegAcharPos</a></div><div class="ttdeci">UINT wMaxNegAcharPos</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00777">usercli.h:777</a></div></div>
<div class="ttc" id="aa00563_html_a074685e97e89d6aa2accdfcb82328699"><div class="ttname"><a href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a></div><div class="ttdeci">ddeml v[i&lt; inst &gt;][t&lt; type &gt;][hObj|pObj] Dump DDEML state information ddeml lists all ddeml instances for this process n ddeml t&lt; type &gt; lists all ddeml objects of the given type n n assumes link is first DWORD</div><div class="ttdef"><b>Definition:</b> <a href="a00563_source.html#l00175">exts.h:175</a></div></div>
<div class="ttc" id="aa00026_html_a0cecedf7a462633cf5456292b526d8ec"><div class="ttname"><a href="a00026.html#a0cecedf7a462633cf5456292b526d8ec">ClearWindowState</a></div><div class="ttdeci">void ClearWindowState(PWND pwnd, UINT flags)</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l02834">client.c:2834</a></div></div>
<div class="ttc" id="aa01901_html_a56e1c37e14ce0745f53a6124621b9130"><div class="ttname"><a href="a01901.html#a56e1c37e14ce0745f53a6124621b9130">tagED::fReadOnly</a></div><div class="ttdeci">UINT fReadOnly</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00721">usercli.h:721</a></div></div>
<div class="ttc" id="aa02581_html_ad680eabbc65eb4d160362e2c73a19994"><div class="ttname"><a href="a02581.html#ad680eabbc65eb4d160362e2c73a19994">tagWND::spmenu</a></div><div class="ttdeci">struct tagMENU * spmenu</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01413">user.h:1413</a></div></div>
<div class="ttc" id="aa02513_html_a6d4a3d0da39a9625530bd9589823fbf0"><div class="ttname"><a href="a02513.html#a6d4a3d0da39a9625530bd9589823fbf0">tagSERVERINFO::wMaxRightOverlapChars</a></div><div class="ttdeci">int wMaxRightOverlapChars</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01005">user.h:1005</a></div></div>
<div class="ttc" id="aa01901_html_ab03c83ca94b99614de316dd0a861a29b"><div class="ttname"><a href="a01901.html#ab03c83ca94b99614de316dd0a861a29b">tagED::rcFmt</a></div><div class="ttdeci">RECT rcFmt</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00676">usercli.h:676</a></div></div>
<div class="ttc" id="aa02581_html"><div class="ttname"><a href="a02581.html">tagWND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01388">user.h:1388</a></div></div>
<div class="ttc" id="aa00935_html_afa361f1e7cc3d9957b148ff982f8d030"><div class="ttname"><a href="a00935.html#afa361f1e7cc3d9957b148ff982f8d030">InflateRect</a></div><div class="ttdeci">BOOL APIENTRY InflateRect(LPRECT prc, int cx, int cy)</div><div class="ttdef"><b>Definition:</b> <a href="a00935_source.html#l00158">rect.c:158</a></div></div>
<div class="ttc" id="aa01901_html_aca11e9141269a54ffda79ec776e4d679"><div class="ttname"><a href="a01901.html#aca11e9141269a54ffda79ec776e4d679">tagED::wMaxNegA</a></div><div class="ttdeci">UINT wMaxNegA</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00776">usercli.h:776</a></div></div>
<div class="ttc" id="aa00371_html_a41f433389f20db57f042022a662e96de"><div class="ttname"><a href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a></div><div class="ttdeci">#define RIP_WARNING</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00029">winerrp.h:29</a></div></div>
<div class="ttc" id="aa01901_html_af5a010828a8c661a2bc93df0260b2c86"><div class="ttname"><a href="a01901.html#af5a010828a8c661a2bc93df0260b2c86">tagED::fEncoded</a></div><div class="ttdeci">BOOL fEncoded</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00793">usercli.h:793</a></div></div>
<div class="ttc" id="aa01901_html_a67097db1f98d29921216910064763f66"><div class="ttname"><a href="a01901.html#a67097db1f98d29921216910064763f66">tagED::fCaretHidden</a></div><div class="ttdeci">UINT fCaretHidden</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00724">usercli.h:724</a></div></div>
<div class="ttc" id="aa00362_html_a66d4a43eb655e87820eff79e73181f01"><div class="ttname"><a href="a00362.html#a66d4a43eb655e87820eff79e73181f01">NtUserHideCaret</a></div><div class="ttdeci">BOOL NtUserHideCaret(IN HWND hwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l04041">kernel/ntstubs.c:4041</a></div></div>
<div class="ttc" id="aa00362_html_acfbb149ad39bc9929fb7063d4276e470"><div class="ttname"><a href="a00362.html#acfbb149ad39bc9929fb7063d4276e470">NtUserInvalidateRect</a></div><div class="ttdeci">BOOL NtUserInvalidateRect(IN HWND hwnd, IN CONST RECT *prect OPTIONAL, IN BOOL bErase)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l04092">kernel/ntstubs.c:4092</a></div></div>
<div class="ttc" id="aa01901_html_ad042d1743d70a971159c9cb3ea8bb8e6"><div class="ttname"><a href="a01901.html#ad042d1743d70a971159c9cb3ea8bb8e6">tagED::charSet</a></div><div class="ttdeci">BYTE charSet</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00771">usercli.h:771</a></div></div>
<div class="ttc" id="aa01901_html_a00569140688ee86009f8509ad3304bd7"><div class="ttname"><a href="a01901.html#a00569140688ee86009f8509ad3304bd7">tagED::pTabStops</a></div><div class="ttdeci">LPINT pTabStops</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00765">usercli.h:765</a></div></div>
<div class="ttc" id="aa02513_html_a2293bf0ef428f41122dfa8291b92bfae"><div class="ttname"><a href="a02513.html#a2293bf0ef428f41122dfa8291b92bfae">tagSERVERINFO::wMaxLeftOverlapChars</a></div><div class="ttdeci">int wMaxLeftOverlapChars</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01004">user.h:1004</a></div></div>
<div class="ttc" id="aa00125_html_ac702f10c1226a0b63d07046ab3bb69f2"><div class="ttname"><a href="a00125.html#ac702f10c1226a0b63d07046ab3bb69f2">ECUnlock</a></div><div class="ttdeci">void ECUnlock(PED ped)</div><div class="ttdef"><b>Definition:</b> <a href="a00125_source.html#l00072">editec.c:72</a></div></div>
<div class="ttc" id="aa01901_html_a59006911edca42d85a4451300a2e5691"><div class="ttname"><a href="a01901.html#a59006911edca42d85a4451300a2e5691">tagED::cxSysCharWidth</a></div><div class="ttdeci">int cxSysCharWidth</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00761">usercli.h:761</a></div></div>
<div class="ttc" id="aa02513_html_a4bd85c2f52f502cc32a9bfb9004694ad"><div class="ttname"><a href="a02513.html#a4bd85c2f52f502cc32a9bfb9004694ad">tagSERVERINFO::tmSysFont</a></div><div class="ttdeci">TEXTMETRIC tmSysFont</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01017">user.h:1017</a></div></div>
<div class="ttc" id="aa01901_html_a63d2978bed54249f685782e78ce4d423"><div class="ttname"><a href="a01901.html#a63d2978bed54249f685782e78ce4d423">tagED::pwnd</a></div><div class="ttdeci">PWND pwnd</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00675">usercli.h:675</a></div></div>
<div class="ttc" id="aa01901_html_a9805d549bc2a7caaea2b1b51cf39d444"><div class="ttname"><a href="a01901.html#a9805d549bc2a7caaea2b1b51cf39d444">tagED::cchAlloc</a></div><div class="ttdeci">ICH cchAlloc</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00643">usercli.h:643</a></div></div>
<div class="ttc" id="aa00128_html_a7b8b5ce2c2de282a118f017cd70092e3"><div class="ttname"><a href="a00128.html#a7b8b5ce2c2de282a118f017cd70092e3">MLBuildchLines</a></div><div class="ttdeci">void MLBuildchLines(PED ped, ICH iLine, int cchDelta, BOOL fUserTyping, PLONG pll, PLONG phl)</div><div class="ttdef"><b>Definition:</b> <a href="a00128_source.html#l01261">editml.c:1261</a></div></div>
<div class="ttc" id="aa00122_html_abcbe02a7c852f0c02d82ceed95d021af"><div class="ttname"><a href="a00122.html#abcbe02a7c852f0c02d82ceed95d021af">GetMaxOverlapChars</a></div><div class="ttdeci">DWORD GetMaxOverlapChars(void)</div><div class="ttdef"><b>Definition:</b> <a href="a00122_source.html#l00072">edecrare.c:72</a></div></div>
<div class="ttc" id="aa01901_html_a1b5d2e62e62753fd3d9acf72c4ba1510"><div class="ttname"><a href="a01901.html#a1b5d2e62e62753fd3d9acf72c4ba1510">tagED::charOverhang</a></div><div class="ttdeci">int charOverhang</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00760">usercli.h:760</a></div></div>
<div class="ttc" id="aa03608_html_afd1a0e78d1f88954d93e48ab3821781f"><div class="ttname"><a href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a></div><div class="ttdeci">typedef UINT(FAR WINAPI *MSGSOUNDPROC)()</div></div>
<div class="ttc" id="aa01901_html_a560d79883079b560961fefdf0934369a"><div class="ttname"><a href="a01901.html#a560d79883079b560961fefdf0934369a">tagED::wMaxNegC</a></div><div class="ttdeci">UINT wMaxNegC</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00778">usercli.h:778</a></div></div>
<div class="ttc" id="aa03263_html_a0e9e0d98439c77d0dbc2e1c3053ebae4"><div class="ttname"><a href="a03263.html#a0e9e0d98439c77d0dbc2e1c3053ebae4">LOCALALLOC</a></div><div class="ttdeci">#define LOCALALLOC(dwFlags, dwBytes, hInstance)</div><div class="ttdef"><b>Definition:</b> <a href="a03263_source.html#l00104">client/globals.h:104</a></div></div>
<div class="ttc" id="aa01901_html_a9e9c8bf44a8b9c903e8b2bb173acbeff"><div class="ttname"><a href="a01901.html#a9e9c8bf44a8b9c903e8b2bb173acbeff">tagED::iLockLevel</a></div><div class="ttdeci">int iLockLevel</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00794">usercli.h:794</a></div></div>
<div class="ttc" id="aa03263_html_ac5708139d90a74b5f851208c3df8a75c"><div class="ttname"><a href="a03263.html#ac5708139d90a74b5f851208c3df8a75c">LHND</a></div><div class="ttdeci">#define LHND</div><div class="ttdef"><b>Definition:</b> <a href="a03263_source.html#l00087">client/globals.h:87</a></div></div>
<div class="ttc" id="aa01901_html_a39109fda55461db48b8cad98765d3d4f"><div class="ttname"><a href="a01901.html#a39109fda55461db48b8cad98765d3d4f">tagED::fBorder</a></div><div class="ttdeci">UINT fBorder</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00696">usercli.h:696</a></div></div>
<div class="ttc" id="aa00365_html_ad92d5fac09a74e3695c68da781de646b"><div class="ttname"><a href="a00365.html#ad92d5fac09a74e3695c68da781de646b">ICH</a></div><div class="ttdeci">DWORD ICH</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00469">user.h:469</a></div></div>
<div class="ttc" id="aa01901_html_a37bdf3472a25ade90d92aafe2a063113"><div class="ttname"><a href="a01901.html#a37bdf3472a25ade90d92aafe2a063113">tagED::fWrap</a></div><div class="ttdeci">UINT fWrap</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00704">usercli.h:704</a></div></div>
<div class="ttc" id="aa00122_html_a6f04d5c39809af17fd5ea8d48e67ff37"><div class="ttname"><a href="a00122.html#a6f04d5c39809af17fd5ea8d48e67ff37">ECSetMargin</a></div><div class="ttdeci">void ECSetMargin(PED ped, UINT wFlags, long lMarginValues, BOOL fRedraw)</div><div class="ttdef"><b>Definition:</b> <a href="a00122_source.html#l00082">edecrare.c:82</a></div></div>
<div class="ttc" id="aa01901_html_a6eaee1347cb0a69a437c28d32dfb55d8"><div class="ttname"><a href="a01901.html#a6eaee1347cb0a69a437c28d32dfb55d8">tagED::f40Compat</a></div><div class="ttdeci">UINT f40Compat</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00731">usercli.h:731</a></div></div>
<div class="ttc" id="aa01901_html_aef1eec499715335d467d1c4215278b99"><div class="ttname"><a href="a01901.html#aef1eec499715335d467d1c4215278b99">tagED::chLines</a></div><div class="ttdeci">LPICH chLines</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00743">usercli.h:743</a></div></div>
<div class="ttc" id="aa00935_html_a31ccccdb469eefbb55d18b71a26af0da"><div class="ttname"><a href="a00935.html#a31ccccdb469eefbb55d18b71a26af0da">CopyRect</a></div><div class="ttdeci">BOOL APIENTRY CopyRect(LPRECT prcDst, CONST RECT *prcSrc)</div><div class="ttdef"><b>Definition:</b> <a href="a00935_source.html#l00391">rect.c:391</a></div></div>
<div class="ttc" id="aa01901_html_ae69ebb9f519928fda2522bc10fc5f62c"><div class="ttname"><a href="a01901.html#ae69ebb9f519928fda2522bc10fc5f62c">tagED::wMaxNegCcharPos</a></div><div class="ttdeci">UINT wMaxNegCcharPos</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00779">usercli.h:779</a></div></div>
<div class="ttc" id="aa00053_html_afb09e3dbfb0dc7ec438a7a914011b5d2"><div class="ttname"><a href="a00053.html#afb09e3dbfb0dc7ec438a7a914011b5d2">ComboBoxWndProcWorker</a></div><div class="ttdeci">LONG APIENTRY ComboBoxWndProcWorker(PWND pwnd, UINT message, WPARAM wParam, LPARAM lParam, DWORD fAnsi)</div><div class="ttdef"><b>Definition:</b> <a href="a00053_source.html#l00076">combo.c:76</a></div></div>
<div class="ttc" id="aa01901_html_ae004c105331877165669266ff7ec37f9"><div class="ttname"><a href="a01901.html#ae004c105331877165669266ff7ec37f9">tagED::wLeftMargin</a></div><div class="ttdeci">UINT wLeftMargin</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00780">usercli.h:780</a></div></div>
<div class="ttc" id="aa00236_html_ad272f936963b18f5b5975e78e6190c9e"><div class="ttname"><a href="a00236.html#ad272f936963b18f5b5975e78e6190c9e">FreeLookasideEntry</a></div><div class="ttdeci">void FreeLookasideEntry(PLOOKASIDE pla, PVOID pEntry)</div><div class="ttdef"><b>Definition:</b> <a href="a00236_source.html#l00345">rtlinit.c:345</a></div></div>
<div class="ttc" id="aa00020_html_ad760da1dd81d9e84dee607d18edfde39"><div class="ttname"><a href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a></div><div class="ttdeci">PSERVERINFO gpsi</div><div class="ttdef"><b>Definition:</b> <a href="a00020_source.html#l00039">clglobal.c:39</a></div></div>
<div class="ttc" id="aa00026_html_a46278f8b1db32b9b4679eee6abc9e1b4"><div class="ttname"><a href="a00026.html#a46278f8b1db32b9b4679eee6abc9e1b4">GetKeyboardLayout</a></div><div class="ttdeci">HKL GetKeyboardLayout(DWORD idThread)</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l03732">client.c:3732</a></div></div>
<div class="ttc" id="aa01901_html_ab83f282e0d9ba01db145bc2a64db07f6"><div class="ttname"><a href="a01901.html#ab83f282e0d9ba01db145bc2a64db07f6">tagED::cPasswordCharWidth</a></div><div class="ttdeci">int cPasswordCharWidth</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00672">usercli.h:672</a></div></div>
<div class="ttc" id="aa01901_html_a28b575c23d3fd50bf4af8b5fa4d240ad"><div class="ttname"><a href="a01901.html#a28b575c23d3fd50bf4af8b5fa4d240ad">tagED::hText</a></div><div class="ttdeci">HANDLE hText</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00642">usercli.h:642</a></div></div>
<div class="ttc" id="aa00122_html_a8f444e82be3de51b57983de0854356ed"><div class="ttname"><a href="a00122.html#a8f444e82be3de51b57983de0854356ed">ECSize</a></div><div class="ttdeci">void ECSize(PED ped, LPRECT lprc, BOOL fRedraw)</div><div class="ttdef"><b>Definition:</b> <a href="a00122_source.html#l00488">edecrare.c:488</a></div></div>
<div class="ttc" id="aa02513_html_a481a03e7eb24994f1eca28391f9b7c77"><div class="ttname"><a href="a02513.html#a481a03e7eb24994f1eca28391f9b7c77">tagSERVERINFO::cySysFontChar</a></div><div class="ttdeci">int cySysFontChar</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01014">user.h:1014</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_caf01b281dbc7d7ffe410ecf117b6142.html">client</a></li><li class="navelem"><a class="el" href="a00122.html">edecrare.c</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
